Colour codes are used to calculate the:

Numercial value of resistance

Nature of resistor

Potential difference

Current