Skip to content
Jellykit

HEX to HSL

Convert any HEX colour code to HSL (hue, saturation, lightness) for easier CSS colour tweaking. Shows RGB and CMYK too. Free hex to hsl converter, instant.

Runs in your browser. Nothing is uploaded.

About HEX to HSL

HSL describes a colour the way people think about it: hue is the position on the colour wheel (0 to 360°), saturation is how vivid it is and lightness is how close it is to black or white.

Converting your brand hex colours to HSL makes it easy to build hover states and palettes in CSS: keep the hue, change only the lightness. hsl(289 69% 45%) and hsl(289 69% 35%) are the same purple, one darker.

How to use HEX to HSL

  1. Enter your values in the fields.
  2. The answer updates instantly as you type.
  3. Press Copy result to save the breakdown.

Frequently asked questions

Why do some converters give slightly different HSL numbers?

Rounding. HSL values are usually rounded to whole numbers, which can shift them by one either way.

Can I use HSL in all browsers?

Yes. hsl() has been supported everywhere for over a decade.

Is HEX to HSL free and private?

Yes. HEX to HSL is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.

See all design tools →