How to use it
- Type a colour, or use the picker.
- Read the values in HEX, RGB, HSL, HSV and CMYK.
- Check the contrast against white and black text.
One colour, many forms
Type a colour in any common form and get it in all the others: HEX, RGB, HSL, HSV and CMYK. It is useful when a design tool, a website and a printer each want a different format.
Contrast check
The tool checks the contrast against white and black text, which helps you choose readable colours. Good contrast makes a page easier to read and is part of accessibility.
Shades
A strip of lighter and darker shades helps you build a palette from one colour. CMYK values are approximate, because a printer and a screen show colours differently. Nothing is uploaded.
Example: turn a brand colour into every format
A designer gives you #1E88E5. Paste it and read the same colour as RGB, HSL, HSV and CMYK. Use the contrast check to see if white text is readable on it, and the strip of lighter and darker shades to pick a hover colour.
Quick tips
- HEX and RGB are used on screens. CMYK is used for print, and the values are an approximation.
- Contrast matters for accessibility. Aim for a ratio of at least 4.5 for normal text.
- Click a shade to make it the current colour.
Common problems and fixes
- My printed colour looks duller. Screens use light and paper uses ink, so print colours are less bright. Ask the printer for a proof.
- The code is not accepted. Check that HEX has six digits and begins with a hash sign.
Questions
Which colour formats are understood?
HEX with 3, 6 or 8 digits, rgb() and rgba(), hsl() and hsla(), three plain numbers like 60,255,154, and CSS colour names such as teal.
What do AA and AAA mean?
They are levels of the WCAG accessibility rules for the contrast of text. AA needs a ratio of at least 4.5 to 1 for normal text, AAA needs 7 to 1.
Is CMYK exact?
No. It is a simple conversion from screen colours. A printer will use its own colour profile, so printed colours may look different.