Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)

HEX to HSL Converter

Convert HEX color codes to HSL values. HSL is intuitive for adjusting hue, saturation, and lightness.

The HEX to HSL Converter transforms hexadecimal color codes into HSL (Hue, Saturation, Lightness) values. HSL is a more intuitive color model that makes it easy to create color variations.

  1. Enter your HEX color code in the input field
  2. The HSL value will be calculated automatically
  3. Click the copy button to copy the result
  4. View all color formats in the panel below
  • Real-time conversion as you type
  • Supports 3-digit and 6-digit HEX formats
  • Color preview for visual verification
  • One-click copy to clipboard
  • Shows all color formats (HEX, RGB, HSL, HSV, CMYK)
What is HSL?
HSL represents colors using Hue (color type, 0-360°), Saturation (color intensity, 0-100%), and Lightness (brightness, 0-100%).
Why use HSL over RGB?
HSL is more intuitive for humans. You can easily create lighter/darker shades by adjusting lightness, or more/less vivid colors by adjusting saturation.
Is HSL supported in CSS?
Yes! Modern browsers fully support hsl() and hsla() color functions in CSS.
Click to pick
rgb(59, 130, 246)
Click to pick
#3B82F6
Click to pick
hsl(217, 91%, 60%)
Click to pick
#3B82F6
Click to pick
hsl(217, 91%, 60%)
Click to pick
cmyk(76%, 47%, 0%, 4%)
HSL is great for creating color variations
Adjust lightness to create tints and shades
Adjust saturation to make colors more vivid or muted
Want to learn more? Read documentation →
1/4
Start typing to search...
Searching...
No results found
Try searching with different keywords