Three prong extension cords generally come in two wire gauges. White and gray electrical wires can only be connected to one another.

Which Wire Is Hot Black Or White Is The Black Wire Hot
Green black and white wires. The orange is the motor the violet is the ignition etc. But the first rule is there are no rules. A white wire is normally the neutral wire. How to rewire green black white to a 3 three prong extension cord know your wire gauge. Three phase lines are red black and blue. The colors regulated by the national electrical code in the united states are standardized for safety.
There are no color codes in his 77 years of wiring 200 year old houses. Canada ac power circuit wiring color codes. The protective ground is green or green with yellow stripe. So if you see lots of different colors in an electrical box you probably need to call an electrician. By convention the white wire is neutral the black wire is hot and a green or bare wire is ground. The different colors of electrical wires indicate the function of the wire with black and red indicating the wires carry electric current white usually indicating neutral charge and green indicating the wire is grounded.
The neutral is white the hot live or active single phase wires are black and red in the case of a second active. But if you see three or four colors you can probably figure it out. Procedure for replacing a male or female plug. Twelve gauge cords have. But looking deeper the color of the wires inside of the sheathing reveals that different colored wires serve different purposes. A green wire or bare wire with no insulation is normally the local ground wire.
Beyond that are general industry accepted rules about wire color that indicate their purpose. The purpose of green wires is to ground an electrical circuit. You connect the black wires in the electrical box to the switch terminals and the white wires to each other. In oil burner relay switches you have a black and white wire. The national electrical code nec says that white or gray must be used for neutral conductors and that bare copper or green wires must be used as ground wires. If there is a green wire its screwed into the junction box.
A black wire can be the hot wire of a 120 volt supply. While theyre called neutral wires they may still carry a current especially if the current load in the circuit is unbalanced so handle these wires cautiously. The switch also has a green terminal for the ground wires which usually are bare. You may be able to remove the old plug from your extension.