Allowable wire and cable types and sizes are specified according to the circuit operating
voltage and electric current capability, with further restrictions on the environmental
conditions, such as ambient temperature range, moisture levels, and exposure to sunlight and
chemicals. In a typical electrical code, some color-coding of wires is mandatory.