Fixed colour validation.

I don't know what I was originally thinking. Colours are now correctly validated.