Skip to content

HSL to RGB Converter

Convert HSL (Hue, Saturation, Lightness) to RGB values.

r39
g103
b231
HEX#2767E7

About this conversion

HSL (Hue, Saturation, Lightness) is a human-friendly color model that lets you pick a color by its position on the color wheel (hue), its vibrancy (saturation), and its brightness (lightness). While HSL is great for designing and adjusting colors, many applications, APIs, and image formats still require RGB values.

Converting from HSL to RGB is essential when you have designed a color palette using HSL notation and need to export the values for use in environments that only understand RGB — such as certain graphics libraries, LED controllers, game engines, or older CSS code. The conversion involves trigonometric mapping from the cylindrical HSL space back to the cubic RGB space.

This tool performs the conversion instantly and shows you both the resulting R, G, B integer values and a live color preview. Adjust the sliders to explore how changes in hue, saturation, and lightness map to changes in the red, green, and blue channels.

Test your colors in print

After converting your colors, print a test page to verify they look correct on paper:

Color conversions are mathematical approximations. For critical color work, verify against physical swatch books and printed proofs. See our full disclaimer.