[CSS3 color] HSL color example

David Carson, Nokia, found out while hacking up HSL and HSLA support  
for WebKit, that the example code for the HSL colors seems wrong:

* { color: hsl(120, 100%, 25%) } /* light green */
* { color: hsl(120, 100%, 75%) } /* dark green */

should actually be:
* { color: hsl(120, 100%, 25%) } /* dark green */
* { color: hsl(120, 100%, 75%) } /* light green */

As the last parameter is lightness, the higher the value, the lighter  
the color.

For those interested, the WebKit Bugzilla id for our HSL and HSLA  
support is: http://bugzilla.opendarwin.org/show_bug.cgi?id=9506 .

Kind regards,
Joost de Valk

Received on Monday, 3 July 2006 13:06:12 UTC