HSL to RGB Converter

HSL is the perceptual format; RGB is what your screen actually renders. Converting HSL to RGB is the standard step before sending color to a canvas, image buffer, or older CSS engine.

How HSLRGB works

Compute chroma C = (1 − |2L − 1|) × S, then derive R, G, B based on which 60° hue sector the value falls in, then add the lightness offset.

When to use RGB

Use RGB output when piping color values into image manipulation, WebGL, or any low-level graphics API.

Convert any HSL on your Mac

Colorframe shows you HSL, RGB, and every other format side-by-side as you pick. Copy any with one click.