W3C home > Mailing lists > Public > www-style@w3.org > December 1997

Re: color specification in Cascading Style Sheets

From: Blair MacIntyre <bm@cs.columbia.edu>
Date: Mon, 8 Dec 1997 13:06:48 -0500 (EST)
To: Chris Lilley <Chris.Lilley@sophia.inria.fr>
cc: www-style@w3.org
Message-ID: <Pine.GSO.3.96.971208130434.12230D-100000@renoir.cs.columbia.edu>

> > While RGB is convenient for machines, and often useful for people who have
> > become accustomed to it, in many situations, either the HSV or (even
> > better) HSL notations are more useful. Both of these notations are simple
> > transformations of the RGB color space, but represent more intuitive
> > spaces
> 
> I urge you to read the archives of this mailing list [1] for previous
> discussions about the non-intuitive nature of HSL  (and HSV).
 
I will look, thanks.   
 
> > - selecting a range of similar colors, for shadows or highlighting.
> >   Using these spaces, we simply change the value/lightness or saturation,
> >   but keep the hue the same.
> 
> The corresponding activity, of changing the hue but keeping the lightness
> the same, does not give the intuitively expected results using HSL.

Not compared to the CIE uniform color spaces (which are not ideal,
either), but compared to RGB?  In my own work, I've always included HSL
because it is significantly more intuitive that RGB.

If you mechanically vary the hue, you will not get the desired results
directly, but you will be significantly closer than if you try varying the
3 rgb values together.  

Thanks for the quick reply.
  blair
Received on Monday, 8 December 1997 13:07:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:53 GMT