Simple online tools for developers, networking, text and conversions.

Converters

HSL to RGB

Convert HSL color values into RGB format for CSS, design, and theme work.

Tool

Use this HSL to RGB converter to turn hue, saturation, and lightness values into red, green, and blue channel values. It is useful for CSS workflows, UI design, palette building, and any task where an HSL color must be translated into RGB for implementation or comparison.

About this tool

Use this HSL to RGB converter to turn hue, saturation, and lightness values into red, green, and blue channel values. It is useful for CSS workflows, UI design, palette building, and any task where an HSL color must be translated into RGB for implementation or comparison.

Use hsl to rgb when you need a fast browser-based result without extra setup. It works well for quick checks, one-off tasks, and routine formatting or calculation work.

Learn more

Why use this tool

How to use

  1. Enter the hue, saturation, and lightness values.
  2. Run the tool to convert them to RGB.
  3. Review the resulting channel values.
  4. Copy the output into your stylesheet, spec, or design workflow.

Examples

Example

Input

12 100 60

Output

rgb(...)

Converts a vivid HSL color into its RGB channel form.

Example

Input

0 0 100

Output

rgb(255, 255, 255)

Useful for seeing how neutral HSL values map to RGB.

Common errors

Hue, saturation, and lightness are entered in the wrong order.

Fix: Use hue first, then saturation, then lightness.

The user enters saturation or lightness outside the expected range.

Fix: Use percentage-style values that match the tool's expected format.

The user expects HEX output instead of RGB.

Fix: Use a HEX-related converter if the final output should be hexadecimal.

FAQ

How should I enter HSL values?

Enter hue as 0 to 360 and saturation and lightness as percentages, for example 12 100 60.

Do I need the percent symbol?

No. Just enter the numeric values and the tool will format the result.

Why convert HSL to RGB?

It is useful when a color chosen in HSL needs to be applied as RGB in design or code.

Is this HSL to RGB converter free to use?

Yes. It works online in the browser.

When is RGB more useful than HSL?

RGB is useful when a system, API, or design handoff expects explicit channel values.

Use cases

Related tools