Module Compass::SassExtensions::Functions::Colors
In: lib/compass/sass_extensions/functions/colors.rb

Methods

Public Instance methods

a genericized version of lighten/darken so that negative values can be used.

a genericized version of saturation/desaturate so that negative values can be used.

returns an IE hex string for a color with an alpha channel suitable for passing to IE filters.

Scales a color‘s lightness by some percentage. If the amount is negative, the color is scaled darker, if positive, it is scaled lighter. This will never return a pure light or dark color unless the amount is 100%.

Scales a color‘s saturation by some percentage. If the amount is negative, the color is desaturated, if positive, it is saturated. This will never return a pure saturated or desaturated color unless the amount is 100%.

[Validate]