RGB to HSL Converter

Convert RGB color values to HSL (Hue, Saturation, Lightness) in multiple formats.

Results:

hsl(0, 0%, 0%)
hsl(0deg 0% 0%)
{ h: 0, s: 0, l: 0 }
[0, 0, 0]
0°, 0%, 0%
h: 0.000, s: 0.000, l: 0.000

About RGB to HSL Conversion

HSL colors can be represented in several formats:

  • Functional Notation: hsl(0, 100%, 50%)
  • Modern CSS: hsl(0deg 100% 50%)
  • Components:
    • Hue: 0-360 degrees
    • Saturation: 0-100%
    • Lightness: 0-100%
  • Normalized Values: All components scaled to 0-1 range

HSL is often preferred for its intuitive representation of color properties.