Electrical wires are coloured specifically for it to be easy to identify their purpose.(re write) The colour determines what the wire does for the appliance & house circuits and how it should be treated. It also defines which port it occupies in the socket.