Converts RGB (Red, Green, Blue) to HSL (Hue, Saturation, Lightness). While RGB defines colors by mixing red, green, and blue light at different intensities, HSL represents the same colors in a more intuitive way — hue is the color itself, saturation is its purity, and lightness controls how bright or dark it appears.
RGB to HSL Converter
Convert RGB values to HSL color notation
How to RGB to HSL
- 1.Enter an RGB value like rgb(52, 152, 219) in the input.
- 2.HSL and all other color formats appear instantly.
- 3.Use the color picker for visual selection.
- 4.Copy any value with one click.
About This Tool
Frequently Asked Questions
HSL is easier to work with when creating color palettes, adjusting brightness, or making colors more/less vivid. RGB is better for precise channel control and programmatic color manipulation.
Normalize R, G, B to 0-1 range. Find max and min values. Lightness = (max+min)/2. If max=min, hue=saturation=0 (gray). Otherwise, saturation depends on lightness, and hue depends on which channel is the maximum.
Yes — you can convert back from HSL to RGB without any meaningful loss. Minor rounding differences may occur.