Colour encoding test