On Wed, Aug 25, 2010 at 2:07 PM, BladeBronson <[email protected]>wrote:
> Before I file this, I'm just trying to figure out how much of this I'm > misunderstanding. :) > > Using Photoshop or http://www.opentopia.com/tools/colcal/, my light > blue color (#ADC1CC) has the following values: > Hue: 201 > Saturation: 15 > Lightness: 80 > > Using SASS: > >> $c = #ADC1CC > #adc1cc > >> hue($c) > 201.29deg > >> saturation($c) > 23.308% > >> lightness($c) > 73.922% > > Saturation and Lightness are substantially off. Is this a bug, or > expected? > Note that on the link you gave, it lists hue, saturation, and *brightness*. This is a different color space than hue, saturation, and *lightness*. Confusing, I know. See http://en.wikipedia.org/wiki/HSL_and_HSV for an overview of the difference. Since CSS3 uses HSL, so do we. -- You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/haml?hl=en.
