id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,blocking,blockedby
9377,jQuery static Color class would be useful for cross-platform color comparison,keith.mcfarlane@…,,"I recently noted that the following code is not browser safe:

 var HTMLtag =  ... ;
 HTMLtag . css ( 'color', 'red' );
 if ( 'red' ==  HTMLtag . css ( 'color' ) )
  ...;
 else
  ...
 ;
 It would be useful to have a jQuery . color ( String )  method
 thst creates a Color object with an instance method or
 boolean compare ( final Color color )

 This is a very modest addition that would handle the css ( 'color' ) String return values of (inter alia ) 'rgb (255, 0, 0 ). 'red' and '#FF0000'. Obviously this could be extended to return RGBA. CMYK and other colr representations.

 While this might be thought no core it's such a small addition that it might be though similar to jQuery . trim ( String ) ...",enhancement,closed,low,1.next,css,1.6.1,plugin,,,,
