HSL To Hex
Free HSL To Hex online.
- Runs in your browser No upload — everything runs on your device.
- No sign-up, no watermark Free to use, no account needed.
- Files never uploaded Nothing leaves your device.
- 5,400+ tools, one site File, unit and currency tools in one place.
Designers often think in hue, saturation and lightness — pick a hue, then slide lightness up for a tint or down for a shade — but stylesheets and design tools usually store the finished colour as a hex code. This converter takes hsl(120, 100%, 50%), or the same three numbers without the hsl wrapper, and returns the matching hex code, #00ff00 for that example. Saturation and lightness must each stay between 0% and 100%; anything above that is rejected rather than clipped, because clipping would silently change the colour you asked for. The hue wraps around the colour wheel, so 360 degrees is the same red as 0 degrees. Because saturation and lightness are whole numbers, a few HSL values map to a hex code whose channels sit half a step away from the exact value — the difference is one step in one channel at most. Nothing you type leaves your browser.
How to use HSL To Hex
- Paste your text type, paste (Ctrl+V) or drop a .txt file into the box above.
- Click Convert the tool runs entirely in your browser — nothing is uploaded.
- Read your results they appear below the tool as soon as the conversion finishes.
- Download the result save it for your records.
- Convert another clear the box and paste new text — no sign-up, no limits.
Format facts
| Input | Any plain text, or a .txt file (dropped or browsed). |
|---|---|
| Engine | Built-in browser engine |
| Category | Developer Tools |
Limits
- Browser processing has practical limits: files over 200 MB (or very long media) may be too large for your device. You will get an honest “too large” message, never a fake result.
- Pasted content is handled as plain text — formatting from documents is not preserved.
Frequently asked questions
What HSL formats does it accept?
The hsl(120, 100%, 50%) form, or the same three numbers without the wrapper, such as 120, 100%, 50%. Saturation and lightness must each be between 0% and 100%.
What does a hue of 360 mean?
Hue wraps around the colour wheel, so 360 degrees is the same red as 0 degrees. A hue of 120 is green and 240 is blue.
What happens at 0% saturation?
The colour becomes a grey: with no saturation, the hue has no visible effect, and lightness alone decides how dark or light the grey is.
Does my colour get uploaded anywhere?
No. The conversion runs entirely in your browser on your own device, so nothing you type leaves the page and is never stored or shared.
Was this tool helpful?
Thanks — your feedback helps us improve this tool.
Sorry it didn’t help — tell us what went wrong and we’ll fix it.