About This Tool
Convert HSL (Hue, Saturation, Lightness) color values to hexadecimal codes. HSL is an intuitive color model where Hue is the color angle (0-360°), Saturation is the color intensity (0-100%), and Lightness controls how light or dark the color is (0-100%). Useful for designers who work in HSL and need hex codes for CSS.
Frequently Asked Questions
- Why use HSL instead of hex or RGB?
- HSL is more intuitive for humans. Want a darker shade? Decrease lightness. Want a muted version? Decrease saturation. These relationships aren't obvious in hex or RGB where you'd need to adjust all three channels.
- What does a Hue of 0 vs 360 mean?
- Both 0° and 360° are red — the hue wheel wraps around. Major hues: 0° = red, 60° = yellow, 120° = green, 180° = cyan, 240° = blue, 300° = magenta.
- What happens at 0% and 100% saturation?
- At 0% saturation, any hue becomes a shade of gray (determined by lightness alone). At 100% saturation, you get the purest, most vivid version of that hue.
- How does lightness work?
- 0% lightness is always black regardless of hue/saturation. 100% is always white. 50% gives the pure, most vibrant version of the color. Values between 0-50% are darker shades, 50-100% are lighter tints.