The home wiring color code is for AC (alternating current ... from the power source to the device (e.g., switch, fixture, ...