type conversion from Colour.R|G|B