Added support for all colour models (HS, XY, CT)