fixed valid color input