color object implements comparable