In this color representation system, hue is the color as described by wavelength, for instance the distinction between red and yellow. Saturation is the amount of the color that is present, for instance the distinction between red and pink. The third axis (called lightness, intensity or value) is the amount of light, the distinction between a dark red and light red or between dark grey and light grey. A mathematical conversion from RGB: H = [PI/2 – arc tan (2*R – G – B) / 1.732*(G – B) + PI; G< B] / 2*PI; I = (R + G + B) / 3; S = 1 – [min(R,G,B) / I]