I am NOT an electrician, but...I have done quite a bit of wiring around the house shop & garage, and have studied up quite a bit for my own info & safety. This info is worth exactly what you paid for it, less than the proverbial 2¢!
Green is ALWAYS ground ONLY
Green is ALWAYS ground ONLY (intentional repeat)
WHITE IS NOT A GROUND.
WHITE is NEUTRAL though it can be color coded for specific uses, such as in a light fixture run from a switch, as a "black/colored (hot)" leg.
ALL other colors are considered to be "hot".
Most 220-240 single phase plugs are 3 prong (2 hot, 1 neutral), but for the past 10 years or so, many major appliances (clothes dryers, electric ranges, etc.) have been 4 prong---2 hot, 1 neutral, 1 ground.)
All other colors are used simply for convenience of circuit identification.
I cannot say the above to be gospel, but pretty darned sure about it.