Electrical wiring codes are used to prevent safety issues and allow for easy electrical maintenance by designating color codes to enable wiring to be safely installed and maintained. Local, national and international color schemes vary so it is important to check local codes or hire an experienced electrician.
The U.S. National Electrical Code designates white or grey for neutral power and bare copper or green for ground for both AC and DC power sources. Any other color may be used for the power conductors. Most of Europe uses the International Electrotechnical Commission wiring codes.
The U.S. National Electric Code addresses safe electrical design in commercial, residential and industrial occupancies. Information of electrical codes can be found in NFPA 70, accessible by becoming a member of the National Fire Protection Agency through their website. NFPA 70 includes information on wiring safety and methods, necessary safety equipment for a variety of wiring projects, safely working in hazardous environments and working with communications circuits.
The NFPA recommends hiring an electrician if you are unfamiliar with electrical codes and safety or if you notice flickering lights, blown circuits or any smells when using electricity. Working with electricity can be dangerous, and many shock accidents and electrical fires occur each year.