How to use
Write the HSL value
Fill the Input (HSL) field using the pattern hsl(h, s%, l%). The percent signs on saturation and lightness matter for parsing. The field is preloaded with hsl(239, 84%, 67%) to show the shape.
Watch the swatch update
Each keystroke re-renders the preview swatch once the string parses. If the warning about an unparseable format appears, check that both percentages carry their percent sign.
Take the hex from the top row
The results grid highlights HEX as the primary format for this tool. Hit its copy button for an uppercase code you can paste into a tokens file, a brand doc, or an email template.
Why HSL to HEX
- Convert HSL to HEX and every other format.
- Useful for translating designer values into developer-friendly HEX.