RGB ↔ HSL
hsl(15, 100%, 60%)Convert between RGB and HSL color models.
hsl(15, 100%, 60%)Normalize RGB → Calculate HSL
RGB values are normalized and converted using max/min calculations
HSL → Calculate RGB Channels
HSL values determine RGB channel values through intermediate calculations
RGB
R:255, G:100, B:50
Target
HSL
Normalize RGB Values
Convert RGB values to 0-1 range
Calculate HSL
RGB: 255, 0, 0
HSL
HSL(0, 100%, 50%)
RGB: 0, 255, 0
HSL
HSL(120, 100%, 50%)
HSL makes it easier to adjust brightness and saturation without changing the base hue, perfect for color scheme generation.
See color changes instantly as you adjust RGB or HSL values. Live color preview helps visualize the conversion.
Convert from RGB to HSL or HSL to RGB with equal accuracy. Both directions are calculated in real-time.
HSL format is directly compatible with CSS. Use the converted values in your stylesheets immediately.
Find answers to common questions about RGB and HSL color conversion.