Creates a hex representation of a color in #AARRGGBB format (NOT #RRGGBBAA!).
This format is used in Internet Explorer, and .NET and Android development. [...]
Decrease the transparency (or increase the opacity) of a color, making it more opaque.
Parameters:
color: A color object.
amount: A percentage 0-100%.
method: Optional, set to relative for the adjustment to be relative to the current value.
Returns: color
Example: fadein(hsla(90, 90%, 50%, 0.5), 10%)
Output: rgba(128, 242, 13, 0.6) // hsla(90, 90%, 50%, 0.6)
Remove all saturation from a color in the HSL color space; the same as
calling desaturate(@color, 100%).
Parameters:
color: A color object.
Returns: color
Example: greyscale(hsl(90, 90%, 50%))
Output: #808080 // hsl(90, 0%, 50%)
Creates an opaque color object from hue, saturation and value (HSV) values.
Note that this is a color space available in Photoshop, and is not the same as hsl. [...]
hsva(dynamich, dynamics, dynamicv, dynamica)
→ Color
Creates a transparent color object from hue, saturation, value and alpha (HSVA) values.
Note that this is not the same as hsla, and is a color space available in Photoshop. [...]
Calculates the luma (perceptual brightness) of a color object.
Parameters:
color - a color object.
Returns: percentage 0-100%
Example: luma(rgb(100, 200, 30))
Output: 44%
Creates an opaque color object from decimal red, green and blue (RGB) values.
Literal color values in standard HTML/CSS formats may also be used to define colors,
for example #ff0000. [...]
rgba(dynamicr, [dynamicg, dynamicb, dynamica])
→ Color
Creates a transparent color object from decimal red, green, blue and alpha (RGBA) values. [...]
Rotate the hue angle of a color in either direction. While the angle range
is 0-360, it applies a mod 360 operation, so you can pass in much larger
(or negative) values and they will wrap around angles of 360 and 720 will
produce the same result. Note that colors are passed through an RGB
conversion, which doesn't retain hue value for greys (because hue has no
meaning when there is no saturation), so make sure you apply functions in
a way that preserves hue, for example don't do this: [...]