Sass adjust-hue() Function

You are Here:

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
$colorRequiredSpecifies a color.
$degreesRequiredSpecifies 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
colorReturns the adjust hue color

Reminder

Hi Developers, we almost covered 99.1% of Sass Tutorials with examples for quick and easy learning.

We are working to cover every Single Concept in Sass.

Please do google search for:

Join Our Channel

Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.

This channel is primarily useful for Full Stack Web Developer.

Share this Page

Meet the Author