littlekit.
Private by design

HEX ↔ HSL

Converts between 8-bit sRGB and hue, saturation, lightness using channel extrema.

Your inputs stay in your browser. No account required.
Loading tool controls…

How hex ↔ hsl works

Converts between 8-bit sRGB and hue, saturation, lightness using channel extrema.

Try an example

#ff0000 ↔ hsl(0, 100, 50).

Good to know

HSL is not perceptually uniform. Hue in degrees, saturation/lightness in percent; no alpha.

Your privacy

Processing happens on this device. We do not upload your input, put it in share links or save it to your favourites. Closing this tab discards the working input; downloaded results remain wherever you save them.

A useful next step

Made for clarity. Built to be useful.Report an issue