HEX to RGB and HSL
Convert an opaque six-digit sRGB hex color into RGB channel values and HSL coordinates. HSL output is rounded to one decimal place.
How to use HEX to RGB and HSL
- Choose “Opaque color” using the color picker.
- Select Calculate or Process. Review the result and any validation message before copying or downloading available output. Reset clears the result and restores the starting inputs.
Method & assumptions
RGB channels are hexadecimal byte values; HSL uses the standard min/max sRGB-channel conversion, without linear-light conversion.
Worked example
#336699 becomes rgb(51, 102, 153) and hsl(210.0, 50.0%, 40.0%).
Results and projections are informational estimates, not financial, medical, legal, tax, or property advice. Check assumptions, units, rounding, and local requirements independently. Investment illustrations do not guarantee returns. Keep original files and check transformed output before use.
Questions, answered
Can it convert transparency or color profiles?
No. The input is exactly #RRGGBB. Alpha, wide-gamut profiles, contrast compliance, and perceptual color matching are outside this tool.
Does this send my input to a server?
No. This engine processes input locally without network requests. The surrounding website may have its own analytics or scripts; avoid entering sensitive material on an untrusted site. Text fields accept at most 1,000,000 UTF-16 units unless a smaller field limit is stated.