Skip to content
Convertto
rgbhsl

RGB to HSL Converter

Convert a RGB colour to HSL, with a live swatch and every other notation alongside.

To convert RGB to HSL, paste your colour above — any recognisable notation is accepted, including named CSS colours — and every format is shown at once with a live swatch. HSL separates hue from saturation and lightness, which is why it is the notation to reach for when generating a tint or shade: change one number, keep the hue.

Runs in your browser

About converting RGB to HSL

RGB gives each channel as 0–255. It is the same colour space as hex, just written differently, and adds an alpha channel as a fourth value. HSL separates hue from saturation and lightness, which is why it is the notation to reach for when generating a tint or shade: change one number, keep the hue.

Convert HSL to RGB insteadOpen the full Colour Converter

Share this converter