HSL Converter

HSL Converter converts colors between HEX, RGB and HSL (hue/saturation/lightness) instantly, letting you drag the hue bar and adjust saturation and lightness independently. HSL is the easiest way to produce lighter/darker variants of a color.

#3366cc
hsl(220, 60%, 50%)

How it works

  1. 1Type a HEX/RGB code, or use the hue (0-360°), saturation (%) and lightness (%) sliders directly.
  2. 2See the result instantly in the other formats (HEX, RGB, HSL).
  3. 3Adjust lightness to produce lighter/darker variants of the same hue.
  4. 4Copy the ready CSS `hsl()` function.

Frequently asked questions

Why is HSL easier to work with than RGB?+

In HSL, hue (color), saturation (vividness) and lightness (light/dark) are independent; producing shades of the same color by only changing lightness is far simpler than recalculating all three RGB channels.

What does 0% saturation mean?+

At 0% saturation, the hue becomes meaningless and the color turns to a shade of gray; the lightness value then determines where it sits between black and white.

Is HSL supported in all browsers?+

Yes, the `hsl()` and `hsla()` CSS functions work in all modern browsers without any vendor prefix.

Is HSL the same as HSB/HSV?+

No, though both are hue-based: HSL defines lightness on a black-white axis, while HSB/HSV defines "value" on a black-to-saturated-color axis; this tool uses the HSL model used in CSS.

Embed on your site

Size
480 × 360px
<iframe
  src="https://toolsqube.com/en/color/hsl-converter/embed"
  width="480" height="360"
  style="border:0;border-radius:14px"
  title="HSL Converter · ToolsQube"
  loading="lazy">
</iframe>

Want to go deeper on this topic: Color and Design Guide →

Command Palette

Search for a command to run…