RGB to HSL
Convert RGB color values to HSL format.
Convert RGB colours to HSL (hue, saturation, lightness): rgb(255, 87, 51) becomes hsl(11, 100%, 60%). HSL is easier to adjust by hand, because you can make a colour lighter, darker or less saturated by changing one number. Type one colour or several, one per line, and each is shown with a swatch, plus HEX, HSV, CMYK and the nearest CSS name for the first one.
HSL
hsl(11, 100%, 60%)
| HEX | #FF5733 | |
|---|---|---|
| RGB | rgb(255, 87, 51) | |
| HSL | hsl(11, 100%, 60%) | |
| HSV / HSB | hsv(11, 80%, 100%) | |
| CMYK | cmyk(0%, 66%, 80%, 0%) | |
| CSS name | tomato (closest) |
Common use cases
- Make lighter and darker shades of a brand colour
- Write CSS colours you can tweak by hand
- Build a colour scale for a design system
How to use
- Type an RGB colour, or several on separate lines.
- Copy the HSL value.
FAQ
What do the HSL numbers mean?
Hue is the position on the colour wheel (0 to 360°), saturation is how vivid it is, and lightness runs from black (0%) to white (100%).
Why might a round trip change a value slightly?
HSL values are rounded to whole numbers, so converting back can be off by one in a channel.
Related tools
- HSL to RGBConvert HSL color values to RGB format.
- RGB to HEXConvert RGB color values to HEX color codes.
- Color PickerPick colors visually and get HEX, RGB, and HSL values.
- Color Wheel: Find Matching ShadesFree online color wheel: pick a shade and see its complementary, analogous, triadic and other schemes, on a…
- HEX to RGBConvert HEX color codes to RGB values.
- Color Contrast CheckerCheck the contrast ratio of text and background colours against WCAG AA and AAA for normal text, large text…