compass/src/test/testData/gems/compass-0.13.alpha.2/lib/compass/sass_extensions/functions/colors.rb
# a genericized version of saturation/desaturate so that negative values can be used.
a genericized version of saturation/desaturate so that negative values can be used.
a genericized version of saturation / desaturate so that negative values can be used .
def adjust_saturation(color, amount)
    assert_type color, :Color
    assert_type amount, :Number
    color.with(:saturation => Compass::Util.restrict(color.saturation + amount.value, 0..100))
  end
def adjust_saturation ( color , amount ) assert_type color , :Color assert_type amount , :Number color . with ( :saturation => Compass :: Util . restrict ( color . saturation + amount . value , 0 .. 100 ) ) end
a genericized version of saturation/desaturate so that negative values can be used.
a genericized version of saturation / desaturate so that negative values can be used .
color
amount