Adding max length to colour fields