Color picker
Pick any colour and get its HEX, RGB and HSL codes, check whether text on it is readable, and see lighter and darker shades. Upload an image to grab colours straight from it. Everything runs in your browser.
Shades and tints
Tap one to use it.
Pick a colour from an image
Main colours in this image
How to use the color picker
- Tap the big swatch to choose a colour, or type a HEX code like #1E3A8A.
- Copy the HEX, RGB or HSL value you need with one tap.
- Check the contrast lines before you put text on the colour, and use the shades for hover states, borders and backgrounds.
HEX, RGB and HSL: which one do I need?
| Format | Looks like | Use it for |
|---|---|---|
| HEX | #D97757 | Websites, Canva, Figma, brand guidelines |
| RGB | rgb(217, 119, 87) | CSS, apps and tools that ask for red, green and blue values |
| HSL | hsl(15, 63%, 60%) | Making a colour lighter or darker while keeping the same hue |
What contrast ratio do I need?
The Web Content Accessibility Guidelines (WCAG 2) set the bar for readable text:
| Level | Normal text | Large text (18pt, or 14pt bold) |
|---|---|---|
| AA | 4.5 : 1 | 3 : 1 |
| AAA | 7 : 1 | 4.5 : 1 |
The tool checks your colour against white and black text and tells you which one reads better. For buttons and ad creatives, aim for AA at least.
FAQ
How do I find the colour code from a logo or screenshot?
Upload the image in the box above and tap the colour you want. You'll also see the main colours in the image, which is handy for matching a brand's palette.
What does "Pick from screen" do?
In Chrome and Edge on a computer, it lets you click any pixel on your screen, even outside this page. Other browsers don't support it yet, so the button only appears where it works.
Is my image uploaded?
No. The image is read in your browser and never leaves your device.
More free tools
Built by Anik Biswas, Senior Manager, Growth – Europe at Prism Group. Found a bug or want another tool? Tell me.