Hex to HSL Converter | Shining Toolbox

Convert Hex color codes to HSL format (Hue, Saturation, Lightness).

Quick Answer

HSL stands for Hue, Saturation, and Lightness. It's often more intuitive for designers than RGB or Hex.

Quick Template

Use the full Color Picker

This variant is a fast preset. Open the full tool to fine-tune inputs, explore more options, and share the result.

Go to Color Picker

Color Picker

Pick colors and convert between HEX, RGB, and HSL

Preview

rgb(16, 185, 129)

Hue160°
Saturation84%
Lightness39%

hsl(160, 84%, 39%)

Quick Reference

HEX: 6-digit code, commonly used in CSS (#RRGGBB)

RGB: Red, Green, Blue values (0-255 each)

HSL: Hue (0-360°), Saturation, Lightness (0-100%)

About Hex to HSL Converter

How to Use the Color Picker

  1. Pick your color - Use the color picker or enter a color value in any format
  2. See conversions - All formats update automatically
  3. Adjust values - Fine-tune with sliders or direct input
  4. Copy - Click copy to get the color code in your preferred format

Color Format Comparison

FormatExampleBest For
HEX#FF5733CSS, shorthand notation
RGBrgb(255, 87, 51)When you need alpha/transparency
HSLhsl(14, 100%, 60%)Creating color variations

Understanding Color Spaces

HEX Colors

  • 6-digit format: #RRGGBB
  • 3-digit shorthand: #RGB (e.g., #F00 = #FF0000)
  • Each pair represents 0-255 in hexadecimal (00-FF)

RGB Colors

  • Red: 0-255
  • Green: 0-255
  • Blue: 0-255
  • Combined: over 16 million color combinations

HSL Colors

  • Hue: The color itself (0° = red, 120° = green, 240° = blue)
  • Saturation: Color intensity (0% = gray, 100% = full color)
  • Lightness: Brightness (0% = black, 50% = normal, 100% = white)

Why Designers Love HSL

HSL is intuitive for creating color schemes:

  • Keep hue constant, vary saturation for muted/vibrant versions
  • Adjust lightness for light/dark variations
  • Easy to create accessible color palettes

Related Tools

Copied to clipboard!