DOKK / manpages / debian 12 / libtext-sass-perl / Text::Sass::Functions.3pm.en
Text::Sass::Functions(3pm) User Contributed Perl Documentation Text::Sass::Functions(3pm)

Text::Sass::Functions

$LastChangedRevision: 71 $

Converts triplet into a color.

Returns the red part of a color.

Returns the green part of a color.

Returns the blue part og a color.

Mixes two colors together.

Converts as hsl triplet into a color.

Returns the hue part of a color.

Returns the saturation part of a color.

Returns the lightness part of a color.

Changes the hue of a color, can be called as adjust-hue.

Makes a color lighter.

Makes a color darker.

Makes a color more saturated.

Makes a color less saturated.

Converts a color to grayscale.

Returns the complement of a color.

Removes the quotes from a string.

Adds quotes to a string.

Converts a unitless number to a percentage.

Rounds a number to the nearest whole number.

Rounds a number up to the nearest whole number.

Rounds a number down to the nearest whole number.

Returns the absolute value of a number.

Returns the unit of a value.

Returns true if the number has no unit.

Missing alpha routines rgba & hsla methods.

mix() doesn't support weight.

Author: Bjorn-Olav Strand

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.

2022-12-06 perl v5.36.0