# Hue, Saturation and Lightness

> The three dials that describe any color: hue, saturation and lightness. How HSL and OKLCH write a color so a person can change it by hand.

**Course:** [Color Theory and Images](https://learn.benibix.com/learn/design-visual-communication)  
**Time:** 10 min

**After this lesson you can:**

- Describe a color with three dials
- Make a tint and a shade
- Read an HSL color

## The three dials behind every color

Every color can be described with three dials: hue, saturation and lightness. Hue is the color itself, set as an angle on the wheel from 0 to 360 degrees. Red sits at 0, green at 120 and blue at 240. Saturation and lightness each run from 0 to 100 percent.

Hue is what most people mean by color. Red, orange and blue are hues. Moving the hue dial walks you round the wheel, and at 360 degrees you are back at red. Two colors with the same hue are the same family, however light or dull they are.

Saturation is how strong a color is. At 100 percent it is as bold as it can be. At 0 percent all the color is gone and only a gray is left. Turning saturation down is the quickest way to make a loud color calm.

Lightness is how light or dark a color is. At 50 percent you get the pure color. Push it toward 100 and you add white, which makes a tint, like pink from red. Push it toward 0 and you add black, which makes a shade, like maroon.

HSL is a way to write a screen color as those three dials. A strong blue might be written hsl(220, 90%, 50%). To get a lighter blue for a hover state, raise only the last number. That is much easier than working out a new six-digit code by hand.

HSL has one flaw. Two colors with the same lightness number can look very different in brightness. Yellow at 50 percent looks far brighter than blue at 50 percent. OKLCH is a newer way to write color, published in 2020, that fixes this. Its lightness number matches what the eye sees.

A common mistake is to make a color darker by adding black only. The result often looks muddy. Lowering lightness and nudging the hue a little at the same time gives a richer dark. Painters have done this for centuries, and the dials make it easy on a screen.

![Three panels. Hue: a ring with marks at 0 for red, 120 for green and 240 for blue. Saturation: five swatches going from grey to full color. Lightness: a scale from 0% black, through the pure color at 50%, to 100% white.](https://learn.benibix.com/diagrams/hue-saturation-lightness.svg)

```css
/* one hue, three lightness steps */
--blue-light: hsl(220, 90%, 80%);
--blue:       hsl(220, 90%, 50%);
--blue-dark:  hsl(220, 90%, 30%);
```

### Example: A button that needs three blues

Omar's app has a blue button at hsl(220, 90%, 50%). He needs a lighter blue for hover and a darker one for pressed.

He keeps the first two numbers and sets lightness to 60 and 40. All three blues match, and he never opened a color picker.

**Words in this lesson:** [Hue](https://learn.benibix.com/term/design/hue), [Saturation](https://learn.benibix.com/term/design/saturation), [Lightness](https://learn.benibix.com/term/design/lightness), [HSL Color Model](https://learn.benibix.com/term/design/hsl-color-model), [OKLCH Color](https://learn.benibix.com/term/design/oklch)

**Question:** What happens to a color when its saturation is set to 0 percent?

**Answer:** All the color is gone and a gray is left. Saturation is how strong the color is. At zero there is no color left, only a gray. Lightness, not saturation, decides how close it is to black or white.

---

Source: https://learn.benibix.com/learn/design-visual-communication/hue-saturation-lightness
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
