converted rgb, xyz, and lab to structs
made rgb private