Hex to HSL Converter

Convert hex colour codes to CSS hsl() values instantly. 100% in your browser, no signup.

100% in your browser — files never uploaded.
Postcrest — full AI image suite

Need more than a converter? AI background removal, upscale, edit and generate — one workspace.

How to use the Hex to HSL Converter

  1. 1
    Paste a hex code
    3, 6 or 8-digit hex with or without the leading #.
  2. 2
    Read the hsl()
    Live conversion to hue, saturation and lightness.
  3. 3
    Copy
    Click Copy or select the output.

Hex vs HSL

HSL (hue, saturation, lightness) is the intuitive way to think about colour relationships — rotate hue to find complements, drop lightness to make a shade, drop saturation to mute a tint.

Hex is the compact serialisation. HSL is best for working with colour systems; hex is best for pasting into design tools and brand variables.

Frequently asked questions

Free?
Yes — no signup, no watermarks.
Are colours uploaded?
No. Conversion runs in your browser.
What about hsla?
Alpha is handled by hex-to-rgb if you need RGBA; HSL alpha is rare in practice.
3-digit hex?
Supported — expanded automatically.
Mobile-friendly?
Yes.