WhatsOnTool directory

HEX RGB HSL Color Converter

Convert a six or three digit HEX color, RGB channels or HSL values.

Open this tool

HEX, RGB and HSL describe colour through different values rather than different pictures.

Enter an opaque colour in one supported form and compare the converted channels.

Inputs and controls

Color source

Input color model

HEX color, RGB channels, HSL values

HEX color

HEX

Red

RGB

Allowed range: 0 to 255

Green

RGB

Allowed range: 0 to 255

Blue

RGB

Allowed range: 0 to 255

Hue

HSL · degrees

Allowed range: 0 to 360

Saturation

HSL · %

Allowed range: 0 to 100

Lightness

HSL · %

Allowed range: 0 to 100

How to use

Why use this tool

The colour preview gives a visual check alongside the numeric conversion.

Before relying on the result

Opaque colors only. HSL conversion rounds RGB channels to whole values. It does not calculate accessibility contrast.

Tool limitations

Opaque colors only. HSL conversion rounds RGB channels to whole values. It does not calculate accessibility contrast.

Questions

Does the result assess accessible contrast?

No. Contrast needs two colours and an appropriate accessibility calculation.

What should I check before using HEX RGB HSL Color Converter?

Check Color source, HEX color, Red and Green. Use the exact units shown beside the controls and replace any example values with your own inputs.

Source page last modified: 2026-10-04T16:58:29+00:00. This profile describes the tool; use its page to run it.

Markdown profile