Better invalid color
4 params check