working colour picker and validation