News for hackers. Stuff that matters.
Re:The Code Side Of Color by jarek-foksa on Friday October 05, 2012 @01:47AM (#4615811)
Web browsers also seem to be using RGB for storing colors internally. You can specify colors in HSL, but retrieved values are only in RGB. E.g. if you write "hsl(100,0%,0%)" in your CSS file then the color will be represented as #000000 in DOM/CSSOM. This is especially annoying when you are trying to implement color picker because information about hue is lost if saturation or lightness are low.

There are no comments on this comment yet.