NAME
Text::Sass::Functions
VERSION
$LastChangedRevision: 71 $
SYNOPSIS
DESCRIPTION
SUBROUTINES/METHODS
rgb(red, green, blue)
Converts triplet into a color.
red(color)
Returns the red part of a color.
green(color)
Returns the green part of a color.
blue(color)
Returns the blue part og a color.
mix(color1, color2, weight = 50%)
Mixes two colors together.
hsl(hue, saturation, lightness)
Converts as hsl triplet into a color.
hue(color)
Returns the hue part of a color.
saturation(color)
Returns the saturation part of a color.
lightness(color)
Returns the lightness part of a color.
adjust_hue(color)
Changes the hue of a color, can be called as adjust-hue.
lighten(color, amount)
Makes a color lighter.
darken(color, amount)
Makes a color darker.
saturate(color, amount)
Makes a color more saturated.
desaturate(color, amount)
Makes a color less saturated.
grayscale(color)
Converts a color to grayscale.
complement(color)
Returns the complement of a color.
unquote(str)
Removes the quotes from a string.
quote(str)
Adds quotes to a string.
percentage(num)
Converts a unitless number to a percentage.
round(num)
Rounds a number to the nearest whole number.
ceil(num)
Rounds a number up to the nearest whole number.
floor(num)
Rounds a number down to the nearest whole number.
abs(num)
Returns the absolute value of a number.
unit(num)
Returns the unit of a value.
unitless(num)
Returns true if the number has no unit.
DIAGNOSTICS
CONFIGURATION AND ENVIRONMENT
DEPENDENCIES
INCOMPATIBILITIES
BUGS AND LIMITATIONS
Missing alpha routines rgba & hsla methods.
mix() doesn't support weight.
AUTHOR
Author: Bjørn-Olav Strand
LICENSE AND COPYRIGHT
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.10 or, at your option, any later version of Perl 5 you may have available.