About the HSL to HEX Converter
The HSL to HEX Converter turns hue, saturation and lightness into a HEX code and RGB values, useful when you design colours in HSL but need HEX for a tool or style guide.
How to use the HSL to HEX Converter
- Enter hue (0–360), saturation (0–100) and lightness (0–100).
- Copy the HEX or RGB result.
Example
Building a palette
Keep hue 220 and saturation 80%, then use lightness 30%, 50% and 70% to get dark, medium and light blues.
Frequently asked questions
Lightness 100%?
Always white, whatever the hue. Lightness 0% is always black.
Saturation 0%?
A shade of grey; hue has no effect.
Can I enter decimals?
Yes, values are not limited to whole numbers.