Text on white
Text on black
Colour picker & converter
Pick a colour or type a value in any format — HEX, RGB or HSL — and the others update instantly, ready to copy into your CSS. You also get a strip of tints (lighter) and shades (darker) for building a palette, and a WCAG contrast check so you know whether text will be readable on white or black.
Frequently asked questions
How do I convert HEX to RGB or HSL?
Type or pick a colour and every format updates at once. Copy whichever you need with the buttons beside each field.
What are tints and shades?
Tints are lighter versions of your colour (mixed toward white) and shades are darker (mixed toward black). They make it easy to build a consistent palette.
What does the contrast check tell me?
It shows the WCAG contrast ratio of your colour against white and black text, with the accessibility grade (AA / AAA). Aim for at least 4.5:1 for normal body text.
