
Have you ever noticed that the cables have different colors? This is so to be able to differentiate them according to their functions and avoid possible confusion and problems when making or repairing electrical installations. If you have to check an electrical installation or a junction box, you will find many cables of various colors, but would you be able to differentiate them? Keep reading this oneHowTo.com article carefully as in it we are going to explain the code that will help you know how to distinguish wires according to color.
The different types of cables and their functions
In an electrical installation, whether in home appliances or in the car, we can find many cables which we can distinguish according to their function. These are the three different types of cables according to their functions:
- Phase conductor: It is used to allow electrical energy to enter your house, which is why it is also called a positive conductor.
- Neutral conductor: returns the energy used and is therefore also called a negative or output conductor. Each circuit in the house must have its own neutral wire, since you cannot use just one for several. In addition, it also helps to capture the derived energy or the overload to pass it to the ground or discharge wire.
- Earth conductor: The function of this electrical conductor is not to transport energy inside or outside the home on a regular basis, but rather to send out the excess electrical charge that occurs when there is a power surge, leak or bypass, that is to say to the ground. , thus preventing whoever operates the device from being electrocuted. These cables have been mandatory since the year 75, thus avoiding many overloads and electrical incidents at home. There are still many old buildings that do not have a neutral cable in their installation since it involves making a change of the entire electrical installation of the building, although it may be cumbersome or expensive, it is highly recommended to do so.

The color code of the cables
As we have already mentioned, cables can be distinguished according to their function and to differentiate them at a glance, it was created a color code which is very useful if you have to create the electrical installation or if you have to modify it for any reason. These are the different colors that you can find in electrical wiring according to the established code:
- Red, dark blue, black, brown or gray: These are the colors that indicate that these electrical conductors are phase-type, which is why they carry electrical energy within the house or the appliance itself.
- Light blue or white: They are the colors that inform us that this cable is neutral and, therefore, that it is used as a return path for energy. Sometimes, depending on the country, the color white can be used as a phase instead of neutral. For this reason, it is advisable to mark it with black or red tape to highlight that it is not a neutral one but that this cable is in phase and power is entering.
- Green, green with a yellow line, or bare copper wire: These colors or if the cable does not have any insulation, indicate that it is ground or discharge cables that will draw excess energy out of the home when overloads occur.

Security before everything
Now that you know the colors of each type of cable, you can dare to make an arrangement at home, although, of course, it will always be better to do so. an electrician, thus avoiding possible problems or incidents that may arise. But if you are going to do it, you must remember that safety first, so before touching any cables or even before lifting the lid of any electrical appliance you should disconnect the electricity to the whole house and try to make the arrangement when there is enough natural light or you have a flashlight on hand. Also, if you have gloves and insulating shoes, it is recommended that you use them.
If you have found it useful to know how to distinguish wires according to color, we recommend that you also read this article on what to do if the power goes out or you may also be more interested in this other article on how to check if a computer power supply works.
