Sass FunctionsLesson 15Free preview
Sass Color
This lesson is part of SASS · All levels
Summary
Sass provides many built-in colors for changing such as hue, saturation, lightness, lighten, darken, saturate, desaturate, and adjust-hue. This makes it easy to make color variations from one basic color, for example producing a hover color or status. Color values can be written in hex, rgb, hsl, or name formats.
Key points
- Lightening and darkening raising or lowering color brightness
- Saturate and desaturate set the color intensity
- Hue returns the hue angle to the HSL model
- Transparency is regulated by rgba and related alpha functions
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.