piko

Hex to HSL

Convert an opaque hex color to HSL and see the swatch.

Runs on your device. Nothing you add is uploaded.

Use three or six hex digits.
HSL
hsl(15.8, 100%, 56.08%)
#FF5A1F

How to use Hex to HSL

  1. Enter the hex color to convert.
  2. Check that the swatch matches the color you intended.
  3. Copy the HSL value.

Questions

Does this support short hex colors?
Yes. It expands #F53 into #FF5533 before converting.
Can I convert a color with transparency?
This converter takes one opaque color. Remove any alpha channel before converting and set the opacity separately.

How this works

Uses local sRGB channel arithmetic. CMYK values are approximate and independent of any ink profile.

Everything happens in this browser tab. What you type or add stays on your device, and the page has no tracking. Your last settings are kept in this browser so the tool opens the way you left it. Privacy