forked from dotless/dotless
-
Notifications
You must be signed in to change notification settings - Fork 0
Function reference
Tigraine edited this page Aug 17, 2010
·
5 revisions
hue(color, [amount])Returns or modifies the hue of a color
saturation(color, [amount])Returns or modifies the saturation of a color
lightness(color, [amount])Returns or modifies the brightness of a color
red(color, [amount])Returns or modifies the red component of a color
green(color, [amount])Returns or modifies the green component of a color
blue(color, [amount])Returns or modifies the blue component of a color
rgb(red, green, blue)Returns a color with the specified red, green and blue components
rgba(r,g,b,a)(red, green, blue, alpha)Returns a color with the specified red, green, blue and alpha components
rgba(c,a)(color, alpha)Changes the alpha component of the specified color.
hsl(hue, saturation, lightness)Returns a color with the specified hue, saturation and lightness components
hsla(hue, saturation, lightness, alpha)Returns a color with the specified hue, saturation, lightness and alpha components
complement(color)Returns the complement of a color
grayscale(color)Converts a color to grayscale
mix(color1, color2, [weight = 50%])Mix two colors together