Sass adjust-hue() Function

Last Updated:

Sass adjust-hue() Function

The adjust-hue() function increases or decreases a given color's hue.

Example

SASS TO CSS CONVERTER
.foo { color: adjust-hue(#6b717f, 60deg); color: adjust-hue(#6b717f, -60deg); }

Syntax

adjust-hue($color, $degrees)

Parameter Value

ValueTypeExplanation
$color Required Specifies a color.
$degrees Required Specifies the degree to which a stimulus can be described as similar to or different from stimuli that are described as red, green, blue, and yellow. The argument must have either the unit deg or no unit.

Return Value

ValueExplanation
color Returns the adjust hue color

Share this Page

Meet the Author