Hex to HSL converter.

Convert Hex to HSL instantly, with results for every other colour format too.

Going the other way? Convert HSL to Hex instead, or use the full colour converter for hex, RGB, CMYK, HSV and HSL.

Converting Hex to HSL

Hex is typically used for CSS, HTML and general web design, where a short, copy-pasteable code is useful, while HSL is used for design systems and CSS, where lightening or darkening a colour while keeping its hue is common. Enter a Hex value above and the equivalent HSL value appears instantly, alongside every other supported format.

Is Hex to HSL conversion exact?

This conversion is exact and lossless – hex, RGB, HSV and HSL all describe the same underlying colour space, just in different notations, so no colour data is lost converting between them.

Understanding Hex

Hex is a compact, web-friendly representation of RGB using hexadecimal notation (#RRGGBB). It's commonly used in HTML, CSS and web development where character count and readability matter. Both RGB and hex refer to the same colour space but present values differently – decimal versus base-16 encoding.

Understanding HSL

HSL (hue, saturation, lightness) is similar to HSV but uses lightness instead of value. Lightness represents how much white or black is mixed with the pure colour, making it useful for creating colour variations.

Need a full set of colours to go with this one? The colour palette generator builds a matching palette from any base colour. Once you've settled on your palette, the image converter can help you get your images ready to go alongside it.

No tools match your search.