The green wire, or bare copper wire is ground. The white is neutral, and black is power. Now if you have a red wire also, then that means there is a switch that controls either half or the entire plug. Do you have 3 wires at the plug or at the switch? Also is there 2 switches at the box or do you have 1 switch place? How many wires do you have at the plug also?