Skip to main content
CalculazaEveryday calculations, made easier.

FREE ONLINE COLOR AND DESIGN TOOLS

HSL to RGB Converter

Convert HSL values to RGB.

INPUTS

Enter the details

Add the information requested below to get your result.

Your entries are used to produce the result in this browser.

How to use this tool

What does the HSL to RGB Converter do?

Convert HSL values to RGB. Enter the details above to see the result. The notes below explain the calculation method, any published formula, a worked example and important limitations.

When to use this tool

Convert HSL values to RGB. Have Hue (0-360), Saturation (%) and Lightness (%) ready before you start. Preview the colour where it will actually appear, and check contrast if it sits behind text.

How to use the HSL to RGB Converter

  1. Enter the requested information: Hue (0-360), Saturation (%), Lightness (%).
  2. Check each value, date, text entry, or unit before continuing.
  3. Tap the main button to see your result.
  4. Review the result and use Copy result when you need to reuse it.
  5. Choose Clear to remove the entries and start again.

Formula and calculation method

The hue, saturation, and lightness values are converted into red, green, and blue channels.

This tool may use a processing rule, conversion factor, validation step or generation method rather than one standalone equation. The method above describes how its output is produced.

HSL to RGB Converter worked example

Example inputs: Hue (0-360): 2; Saturation (%): 2; Lightness (%): 2. Example output: RGB: 5, 5, 5

Inputs required

  • Hue (0-360)
  • Saturation (%)
  • Lightness (%)

Accuracy and limitations

Color calculations are based on digital color values. Real-world appearance can vary by display, brightness, color profile, and print process. Results are generated by the method built into this tool. Rounding, input format, unit selection, and assumptions can affect the output. For important decisions, verify the result independently with an appropriate trusted source.

Part of Color Converters.

Sources and further reading

These external references support the standards, concepts or browser methods related to this tool. The exact assumptions used by this calculator are described above.

Frequently asked questions

What do I need to enter?

Start with Hue (0-360), Saturation (%), Lightness (%). Follow the field labels and keep units and formats consistent.

How is the result worked out?

The colour values are interpreted or converted using the selected colour notation or colour-space relationship. You supply Hue (0-360), Saturation (%), Lightness (%). Screens and print processes can display the same colour differently.

What should I double-check?

Preview the colour in its intended design and check contrast wherever text needs to be readable.