# HSL Color Model

> A way to write screen colors as three dials. Each one is easy to turn.

**Field:** Design  
**Category:** Visual Communication  
**Also known as:** HSL, Hue Saturation Lightness, HSB, HSV

## Think of it like

It is like asking for paint by name. Then you say how bright and how light.

## Definition

HSL describes a screen color by hue, saturation and lightness. Hue is an angle on the color wheel. Saturation and lightness are each a percent. It is the same colors as RGB, written in a way people can reason about. To make a darker button on hover, you just lower the lightness.

## Example

Leo's button is hsl(210 80% 50%). For the hover state he uses hsl(210 80% 40%), just a little darker.

## Example code

```css
.button       { background: hsl(210 80% 50%); }
.button:hover { background: hsl(210 80% 40%); }
```

The first two numbers stay the same. A lower last number makes a darker hover color.

## Why it matters

It makes color families easy: keep the hue, change the lightness.

## Common mistake

Expecting the same HSL lightness to look equally light for every hue. Yellow at 50% looks far lighter than blue at 50%.

## Three principles

- **Three handles.** Hue, saturation and lightness.
- **Same colors as RGB.** Just easier to reason about.
- **Not perfectly even.** Hues differ in how light they look.

## Related terms

- [Hue](https://learn.benibix.com/term/design/hue)
- [Saturation](https://learn.benibix.com/term/design/saturation)
- [Lightness](https://learn.benibix.com/term/design/lightness)
- [RGB Color Model](https://learn.benibix.com/term/design/rgb-color-model)
- [Hex Color Code](https://learn.benibix.com/term/design/hex-color-code)
- [OKLCH Color](https://learn.benibix.com/term/design/oklch)

## Taught in

- [Hue, Saturation and Lightness](https://learn.benibix.com/learn/design-visual-communication/hue-saturation-lightness): Color and Images, 2/13

![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)

---

Source: https://learn.benibix.com/term/design/hsl-color-model
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-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
