simplify vec4 color conversion