# File lib/compass/sass_extensions/functions/colors.rb, line 4 def adjust_lightness(color, amount) assert_type color, :Color assert_type amount, :Number color.with(:lightness => Compass::Util.restrict(color.lightness + amount.value, 0..100)) end