Convert RGB to HSL
Paste a RGB color code and get the HSL value instantly — ready to drop into CSS, a design tool, or your code.
What is RGB?
RGB is red, green and blue channels from 0–255, optionally with an alpha channel (rgba).
What is HSL?
HSL is hue (0–360°), saturation and lightness percentages, optionally with alpha.
How to use it
- Enter or paste a RGB color in the input on the left.
- The HSL value is computed instantly.
- Hit "Copy" for the result, or copy any of the HEX, RGB, HSL and OKLCH values shown alongside.


