RGB to HSL
Convert RGB colour values to HSL (hue, saturation and lightness), with HEX, HSV and CMYK alongside. Useful for building CSS colour scales. Free and instant.
Runs in your browser. Nothing is uploaded.
About RGB to HSL
This converter turns red, green and blue channel values into HSL. The hue comes from which channel is strongest, lightness is the average of the brightest and darkest channels, and saturation is the spread between them.
HSL is much easier for people to adjust than RGB. Want a lighter tint of the same colour? Raise L and leave H and S alone.
How to use RGB to HSL
- Enter your values in the fields.
- The answer updates instantly as you type.
- Press Copy result to save the breakdown.
Frequently asked questions
Is HSL the same as HSB or HSV?
No. They share the hue, but HSV/HSB uses value (brightness) instead of lightness. Both are shown in the results.
What is the hue of a grey?
Greys have no hue, so it's reported as 0° with 0% saturation.
Is RGB to HSL free and private?
Yes. RGB to HSL is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.