How to Use the HSL to Hex Converter: Steps and a Worked Example
Convert hue, saturation and lightness to a hex colour code and RGB. This guide shows what to enter, a worked example, and the limits to keep in mind. The HSL to Hex Converter tool is free, needs no account and runs in your browser.
What you need
- Hue (0-360), for example 217
- Saturation (%), for example 91
- Lightness (%), for example 60
Step by step
- Open the HSL to Hex Converter tool.
- Fill in Hue (0-360).
- Fill in Saturation (%).
- Fill in Lightness (%).
- Read the result, which updates as soon as the inputs change.
Worked example
With these inputs:
- Hue (0-360): 217
- Saturation (%): 91
- Lightness (%): 60
the tool returns:
#3C83F6
rgb(60, 131, 246)
A second example
Changing Hue (0-360) 217 to 109 gives:
#5EF63C
rgb(94, 246, 60)
Comparing two runs like this is a quick way to see how much each input moves the result.
How it works
Standard HSL to RGB conversion, then hex. Enter hue from 0 to 360, and saturation and lightness from 0 to 100. You get the hex code and the RGB values.
Things to keep in mind
Runs entirely in your browser. Nothing you enter is uploaded.
Related tools
If this is not quite what you need, try Hex to HSL Converter, Hex to RGB Converter or RGB to HSL Converter.