RGB to HSL Converter

RGB describes a color by its red, green, and blue channels. HSL describes the same color by hue, saturation, and lightness — closer to how designers actually think about color.

How RGBHSL works

Normalize R, G, B to 0–1. Lightness = (max + min) / 2. Saturation depends on lightness and the spread between channels. Hue depends on which channel is dominant.

When to use HSL

Use HSL when adjusting a color (especially lightness or hue) is easier than picking new RGB values from scratch.

Convert any RGB on your Mac

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