RGB to HSL Converter
Convert RGB colors to HSL instantly. Paste a color — with or without alpha — and the conversion runs entirely in the browser.
About RGB and HSL
RGB lists red, green and blue as numbers from 0 to 255, matching how screens mix light. It is the format most APIs, canvas code and design tools expect, and rgba() adds an opacity value from 0 to 1.
HSL describes a color by hue (0–360 on the color wheel), saturation and lightness. It is easier to reason about than raw channels — rotating a hue or dimming a color is a single number change — which makes it popular for theming.
For example, rgb(124, 58, 237) in RGB is hsl(262, 83%, 58%) in HSL. Paste any value above — conversion is instant, runs entirely in the browser, and carries alpha through when the color has one.
More color converter pages
Related tools
Free and open source from Earthling Digital, an independent creative agency. Built with Earthling UI.