Loona Automation logoLoona Developer Tools
Home › Colour Converters

HSL to RGB Converter

In short: enter a colour in HSL and get its exact RGB value — plus a swatch and every other common format for free.
🔒 Private by design: everything runs in your browser on this device. Your input is never uploaded to a server.

About

HSL (hue, saturation, lightness) is the designer-friendly cylinder: hue picks the colour family on a 0–360 wheel, which is why CSS colour functions and design systems think in HSL for generating shades. Converting to RGB: rGB is the native model of screens: additive red, green and blue channels 0–255, the space every other format must land in before display. The converter parses the HSL input (it also tolerates the other notations, because real-world colour strings arrive mixed), converts through RGB with standard colour maths, and rounds to whole units the way CSS and design tools display them — sub-percent precision differences versus other converters are rounding, not error.

Frequently Asked Questions

Is the HSL to RGB conversion exact?

The colour maths is exact; displayed values are rounded to integers/whole percents as tools universally show them. Returning through the inverse conversion can differ by one unit at most.

Why do print (CMYK) colours look duller?

Ink on paper cannot reproduce the brightest screen colours (gamut). The CMYK values are the closest printable approximation, not the same colour.

Related Developer Tools

Embed this tool on your website — free

Add this tool to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the tool to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.