How to Use the Hex to HSL Converter: Steps and a Worked Example
Convert a hex colour code to HSL and RGB. This guide shows what to enter, a worked example, and the limits to keep in mind. The Hex to HSL Converter tool is free, needs no account and runs in your browser.
What you need
- Hex colour, for example #3B82F6
Step by step
- Open the Hex to HSL Converter tool.
- Fill in Hex colour.
- Read the result, which updates as soon as the inputs change.
Worked example
With these inputs:
- Hex colour: #3B82F6
the tool returns:
hsl(217, 91%, 60%)
rgb(59, 130, 246)
How it works
The calculation is: Hex to RGB, then RGB to HSL. Paste a hex colour code such as #3B82F6. You get the HSL values and the RGB equivalent.
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 HSL to Hex Converter, Hex to RGB Converter or RGB to HSL Converter.