RGB to HSL Converter
Convert any color between HEX, RGB, HSL and CMYK notation with a live preview swatch — right in your browser.
Processing...
0%
Parsing color value
Converting color spaces
Rendering preview
Done
Result
This page opens the color converter with RGB preselected as the input format — type rgb(59, 130, 246) or simply 59, 130, 246 and run it to see the color as hsl(hue, saturation, lightness).
Converting channel values to HSL turns raw numbers into something designers can reason about: keep the hue and vary lightness for hover and disabled states, or rotate the hue to derive accent colors — the way modern CSS design systems are built.
This preset is one pair out of the full tool, which converts between HEX, RGB, HSL and CMYK in any direction with a color picker and preview swatch — running entirely in your browser, with no upload.