Colour picker
Choose a colour and copy its code in the format you need, including its range of shades and contrast.
Workspace · Colour picker
How to use it
Click on the colour swatch to open the system colour picker, or use the eyedropper tool if your browser supports it.
Copy the HEX, RGB, HSL or CMYK code with a single click.
Choose a lighter or darker shade from the palette to use as your main colour.
Examples
Web design
Copy the HEX code for your brand colour to use it in CSS.
Accessibility
Check that text in your chosen colour has a contrast ratio of at least 4.5:1.
Paddles
Get five darker shades and five lighter shades of the same colour.
What you need to know
Contrast is calculated using the relative luminance formula set out in the WCAG guidelines. A minimum contrast ratio of 4.5:1 is recommended for normal-sized text and 3:1 for large text.
The on-screen colour picker (EyeDropper) is available in Chrome and Edge for desktop. In other browsers, you can use the system’s colour picker.
Frequently Asked Questions
Related tools
Other tools that can help with similar tasks.
Colour converter
Convert colours between HEX, RGB, HSL and CMYK.
Colour palette generator
Create colour palettes and copy the HEX codes.
WCAG Contrast Checker
Check the contrast between the text and the background and its AA or AAA level.
