RGB to HSL
Convert an opaque RGB color to HSL and see the swatch.
Runs on your device. Nothing you add is uploaded.
Use three values from 0 to 255 or from 0% to 100%.
HSL
hsl(15.8, 100%, 56.08%)
#FF5A1F
How to use RGB to HSL
- Enter the RGB color to convert.
- Check that the swatch matches the color you intended.
- Copy the HSL value.
Questions
Can I use CSS rgb() syntax?
Yes. Paste three numbers or percentages with commas or spaces, with or without rgb().
Can I convert a color with transparency?
This converter takes one opaque color. Remove any alpha channel before converting and set the opacity separately.
How this works
Uses local sRGB channel arithmetic. CMYK values are approximate and independent of any ink profile.
Everything happens in this browser tab. What you type or add stays on your device, and the page has no tracking. Your last settings are kept in this browser so the tool opens the way you left it. Privacy