RGB to HSL
Paste any RGB color to get an accurate HSL value instantly. Copy the converted result, try a random example, or continue with related color tools.
hsl(220 92% 61%)
Tip: Press SPACE to generate a random color
Click a color block to copy to your clipboard.
Similar RGB converters
More color converters
RGB to HSL FAQ
Questions about converting RGB values into HSL for design and development workflows.
RGB to HSL frequently asked questions
How do I convert RGB to HSL?
Paste or type a RGB color into the input field and the converter will instantly return the matching HSL value. You can then copy the result and use it in your design or development workflow.
When should I use HSL over RGB?
HSL is a better choice when you need designing coherent color palettes in UI development, allowing intuitive manipulation of lightness and saturation. If your current workflow starts in RGB, converting helps you move the same color into the format required by your code, tooling, or platform.
Does this converter preserve my selected color in the URL?
Yes. The current RGB value is synced to the page URL so you can bookmark the conversion, share it with someone else, or come back to the same result later.