added color3* and color4* functions