maxlength correct color