This looks like a sass bug: $ sass -i >> $c : #ADC1CC #adc1cc >> saturation($c) 23.308% >> saturation(darken($c, 50%)) 23.308% >> darken($c, 50%) #2f414b >> saturation(#2f414b) 22.951%
Can you file a bug? We'll get it fixed soon: http://github.com/nex3/haml/issues -chris On Wed, Aug 25, 2010 at 12:08 PM, BladeBronson <christ...@wikia-inc.com>wrote: > Hi all, > > I've just joined the group, but have been working with SASS for the > new version of Wikia.com. We provide wikis for tons of communities > (Wookieepedia, Lostpedia, Muppet Wiki, etc) and we're building a theme > designer that will make it super easy to customize the colors of the > wiki - based on SASS. > > I've been having trouble understanding some of the color manipulation > functions. For example, I'm using this light blue color: > Hex: ADC1CC > H: 201 > S: 15 > B: 80 > > I want to darken the color by 50%: darken($light-blue, 50%). This is > the resulting color: > Hex: 2F414B > H: 201 > S: 37 > B: 29 > > It seems like it should have been: > Hex: 576166 > H: 201 > S: 15 > B: 40 > > If this is working as expected, is there a way that I could achieve > the color that I was expecting? Thanks a bunch. > > -- > You received this message because you are subscribed to the Google Groups > "Haml" group. > To post to this group, send email to h...@googlegroups.com. > To unsubscribe from this group, send email to > haml+unsubscr...@googlegroups.com <haml%2bunsubscr...@googlegroups.com>. > For more options, visit this group at > http://groups.google.com/group/haml?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to h...@googlegroups.com. To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/haml?hl=en.