Display error message when color is invalid