RGB to HSL Converter

Convert RGB to HSL as you type — free, instant, with a worked example and a common-colors chart.

Type a RGB value and read the HSL value below it, or pick a color from the swatch.

Pick a color or type a value in any format.

Worked example

RGB 255, 87, 51 = HSL 11, 100%, 60%

How the conversion works

  • HSL describes the same color by hue (0–360° on the color wheel), saturation and lightness — handy for darkening or desaturating a color by changing just one component.

Common colors in RGB and HSL

ColorRGBHSL
Red255, 0, 00, 100%, 50%
Orange255, 165, 039, 100%, 50%
Yellow255, 255, 060, 100%, 50%
Green0, 128, 0120, 100%, 25%
Cyan0, 255, 255180, 100%, 50%
Blue0, 0, 255240, 100%, 50%
Purple128, 0, 128300, 100%, 25%
Pink255, 192, 203350, 100%, 88%
Brown165, 42, 420, 59%, 41%
White255, 255, 2550, 0%, 100%
Gray128, 128, 1280, 0%, 50%
Black0, 0, 00, 0%, 0%

Every conversion runs in your browser. Nothing you enter is uploaded to BroBroGo.

FAQ

How do I convert RGB to HSL?

Type or paste your RGB value above — the HSL value updates as you type. You can also pick the color visually with the swatch.

Is the conversion exact?

Values are rounded to whole numbers, the form CSS and design tools expect. The difference stays far below anything the eye can see.