InputTestHub

HSL Colour Converter

Converts between HSL, HEX and RGB, so you can adjust lightness and saturation predictably.

Colour & Design Nothing uploaded No sign-up Free, unlimited
Colour & Design tool
Pick a colour to see every value.
In short HSL describes a colour the way people actually think about one: hue as an angle from 0 to 360 around the colour wheel, saturation as how vivid it is, and lightness from black at 0% to white at 100%. That makes it the only common format you can edit deliberately. Want a lighter version of your brand blue for a hover state? Raise the lightness and leave the other two alone. Want a muted version for a disabled control? Drop the saturation. Doing either in HEX means changing three numbers at once and hoping. This is also how a coherent palette gets built: hold hue and saturation fixed, step lightness evenly, and every swatch belongs to the same family by construction. One honest caveat that catches everyone eventually. HSL lightness is a mathematical value, not a perceived one — yellow at 50% lightness looks far brighter than blue at 50% lightness, even though the number is identical. So a lightness ramp that looks even in HSL will not look even to the eye across different hues, and if you need perceptual evenness you want LAB or OKLCH rather than HSL.

How to use the HSL Colour Converter

  1. Pick a colour with the picker or paste a HEX, RGB or HSL value.
  2. Every other format and the generated variations update instantly.
  3. Click any value or swatch to copy it.

About the HSL Colour Converter

The HSL Colour Converter converts between HSL, HEX and RGB, so you can adjust lightness and saturation predictably. It runs as plain JavaScript inside the page, which means there is no upload step, no queue and no size limit imposed by a server — the only limit is your own device.

What people use it for

  • Making a lighter or darker version of a colour without guessing.
  • Building a colour scale from one hue.
  • Working with CSS colour functions.
HSL is far easier to reason about than HEX when you want a systematic palette: keep hue and saturation fixed, vary lightness, and you get a coherent scale.

Frequently asked questions

Does the HSL Colour Converter cost anything?
There is no cost and no cap. The HSL Colour Converter is not a demo of a paid product, so nothing is held back or watermarked.
Can you see what I put into this tool?
No. The HSL Colour Converter runs entirely in your browser using JavaScript. Your input never reaches inputtesthub.com or any third party — open your browser's Network tab while you use it and you will see no request go out.
What do people use the HSL Colour Converter for most?
Typical uses: making a lighter or darker version of a colour without guessing. Building a colour scale from one hue. Working with CSS colour functions. It is built for exactly those cases rather than being a general-purpose tool with this bolted on.
Is there anything to watch out for?
HSL is far easier to reason about than HEX when you want a systematic palette: keep hue and saturation fixed, vary lightness, and you get a coherent scale.
Does the HSL Colour Converter work on a phone?
Yes. The page is responsive and the tool works in Chrome, Safari, Firefox, Edge and Samsung Internet on both Android and iOS. There is no app to install and nothing to sign into.

Related colour & design tools

All 33
01

Colour Code Converter

Converts colours between HEX, RGB, RGBA, HSL, HSLA, HSV, CMYK, LAB and named CSS colours.

02

Colour Picker

Picks any colour and shows its HEX, RGB, HSL, HSV, CMYK and LAB values, plus tints, shades and…

03

HEX to RGB Converter

Converts HEX colour codes to RGB and RGBA values, handling 3, 4, 6 and 8 digit hex.

04

RGB to HEX Converter

Converts RGB and RGBA values into HEX colour codes, including 8-digit hex with alpha.

05

CMYK Colour Converter

Converts between CMYK and RGB or HEX for print work, with a note on gamut differences.

08

Colour Contrast Checker

Calculates WCAG contrast ratio between two colours and reports AA and AAA pass or fail for…

10

Tailwind Colour Converter

Finds the nearest Tailwind colour class for any hex value, and shows the hex for any Tailwind…