← All tools
// DESIGN

HSL to RGB online

Convert between HSL, RGB, hex, and HSV colour formats.

HSL to RGB logo
by
CHUNKY
MUNSTER
HSL ↔ RGB ↔ HEX CONVERTER

Colour Format Guide

How to Use hsl-to-rgb

  1. Enter a value in any colour format: HSL, RGB, HSV, or hex.
  2. All other representations update simultaneously.
  3. Use the hue, saturation, and lightness sliders to tune the colour interactively.
  4. Click Copy next to any format to get the value for CSS or design tools.

HSL (Hue, Saturation, Lightness) and HSV (Hue, Saturation, Value/Brightness) are both cylindrical colour space models that separate hue from the quantity of colour — making it more intuitive to pick specific shades, tints, and tones than using RGB directly. This converter translates between HSL, HSV, RGB, and hex in any direction.

HSL vs HSV: Key Difference

In HSL, maximum Lightness (100%) is white regardless of Saturation — a lightness of 50% gives the pure colour. In HSV, maximum Value (100%) is the fully saturated colour at that hue — making V more directly correspond to brightness. Photoshop uses HSV (calling Value "Brightness"), while CSS uses HSL. Designers switching between the two tools need to understand that "50% saturation" means different things in each model.

Frequently Asked Questions

How do I convert HSL to RGB by hand?

The formula is complex — it involves an intermediate chroma calculation and a piecewise function based on the hue sextant. The tool does this instantly; hand calculation is impractical for most use cases.

Why does CSS use HSL rather than HSV?

HSL's Lightness axis makes it easy to create tints (increase L toward 100%) and shades (decrease L toward 0%) of a colour without changing Hue. This aligns with how designers think about colour relationships.

What is "saturation" in HSL?

Saturation in HSL measures colourfulness relative to a grey of the same lightness. At S=0%, all colours with the same Lightness are identical greys. At S=100%, the colour is as vivid as possible for that Lightness.

What does perceptual uniformity mean in colour spaces?

HSL and HSV are not perceptually uniform — equal numeric changes don't produce equal perceived colour differences. For perceptually uniform spaces, use CIELAB (L*a*b*), CIELCH, or Oklab. These matter for smooth gradient generation and colour distance calculations.

See also the Color Converter, CMYK Converter, and the Color Contrast Checker.