Color source
Input color model
HEX color, RGB channels, HSL values
Convert a six or three digit HEX color, RGB channels or HSL values.
Open this toolHEX, 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.
Input color model
HEX color, RGB channels, HSL values
HEX
RGB
Allowed range: 0 to 255
RGB
Allowed range: 0 to 255
RGB
Allowed range: 0 to 255
HSL · degrees
Allowed range: 0 to 360
HSL · %
Allowed range: 0 to 100
HSL · %
Allowed range: 0 to 100
The colour preview gives a visual check alongside the numeric conversion.
Opaque colors only. HSL conversion rounds RGB channels to whole values. It does not calculate accessibility contrast.
Opaque colors only. HSL conversion rounds RGB channels to whole values. It does not calculate accessibility contrast.
No. Contrast needs two colours and an appropriate accessibility calculation.
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