Skip to content
Convert

RGB to HSL

Convert RGB to HSL in one step. Paste your values and get instant results—see the same color in all formats.

to

Enter RGB value

?
R
G
B
Converts to HSL
Fill in the RGB values above to see the result

Conversion guide

RGB to HSL — How it works

How RGB to HSL conversion works

HSL (Hue, Saturation, Lightness) is a human-friendly way to describe colors. Hue is the angle on the color wheel (0–360°), saturation is how vivid the color is (0–100%), and lightness is how bright it is (0–100%). Converting from RGB involves finding the dominant channel, computing the hue angle, then deriving saturation and lightness from the min and max of R, G, B.

Example: Pure red RGB(255, 0, 0) → HSL(0°, 100%, 50%). Gray RGB(128, 128, 128) → HSL(0°, 0%, 50%). Use the tool above to convert any RGB value instantly.