The mandatory colors for power wiring in the National Electrical Code (NEC) are Green, Bare, or Green/Yellow (a yellow stripe or band on green) for the protective ground (PG), and White (or alternatively Gray) for the neutral wire. Wire color helps identify intent, not actual condition. Before handling any wire, always rely on testing with professional tools, not assumptions. Testing is the only reliable way to confirm whether a wire is hot, inactive, or serving a control function. The Engineering ToolBox provides a wide range of free tools, calculators, and information resources aimed at engineers and designers. It offers detailed technical data and calculations for various fields such as fluid mechanics. in electrical installations. A generator system designer and service technician installing and maintaining generator equipment must know the current NEC color and sizing codes or cables within the system. This information sheet series discusses the NEC codes covering cable color designation and. Electrical engineers, contractors, traders, manufacturers, and especially electricians worldwide rely on different wiring color codes for wire and cable installations in industrial buildings and residential homes.