Here's why you can't rely on color:
* Electrical codes vary: While some areas use standardized color coding, others don't. A wire marked as "neutral" in one region might be "hot" in another.
* Older wiring: In older homes, colors might have been used inconsistently or changed over time.
* DIY work: Previous homeowners or electricians might have rewired a fixture, creating incorrect color coding.
How to find the hot wire safely:
1. Use a non-contact voltage tester: This is the safest method. It detects the presence of electricity without having to touch the wire.
2. Turn off the power: Always turn off the power to the fixture at the circuit breaker before working on it.
3. Use a voltage tester: With the power off, use a voltage tester to check each wire individually. The hot wire will show a reading, while the neutral and ground wires will not.
4. Consult a qualified electrician: If you are unsure about the wiring, call a licensed electrician. It's worth the cost to ensure your safety and prevent potential electrical problems.
Never rely on color alone to identify hot wires. Always use a tester and exercise extreme caution when working with electricity.