RGB to HSL Converter

Convert RGB values to HSL (hue, saturation, lightness).

38
125
112
HSL
hsl(172, 53%, 32%)

How it works

The RGB to HSL conversion uses the standard CSS Color Module formula. Hue is derived from which channel is dominant; saturation depends on the difference between max and min channels; lightness is their average.

Related tools