Convert HSL to hex
Input
11, 100%, 60%
Output
#ff5733
Useful when a theme or design system starts from HSL values.
Developer Tools
Review practical HSL to HEX examples so you can understand expected input, output, and common patterns faster.
Use this HSL to HEX converter to turn hue, saturation, and lightness values into a hex color string. It is useful for CSS work, design tokens, palette tuning, theme setup, and moving from HSL-based color logic into a compact hex format used in frontend code and design handoff.
Example pages are especially useful for developer tools because they show what good input looks like, what kind of output to expect, and how the tool behaves in common scenarios.
Input
11, 100%, 60%
Output
#ff5733
Useful when a theme or design system starts from HSL values.
Input
0, 0%, 100%
Output
#ffffff
Useful for checking a white neutral value.
Fix: Enter all three values in the correct order.
Fix: Use valid percentage ranges from 0% to 100%.
Fix: Use a hue value from 0 to 360. Values are normalized if needed.
Fix: Use a clean HSL value like 11, 100%, 60% or hsl(11, 100%, 60%).
Fix: This tool converts standard HSL values only, not HSLA.
After reviewing these examples, run the live tool with your own input. If your task involves a follow-up step, the related page can help you move to the next tool in the workflow.
Open the main HSL to HEX page and test your own real input.