How to use the Color Picker from Image
- 1
Open an image, drop it onto the tool, or paste a screenshot. Press Sample to try it with an example.
- 2
Move over the image. The loupe shows the pixels around the pointer, and the panel shows the colour in HEX, RGB, HSL, HSV and CMYK with its nearest CSS name.
- 3
Click to pick a colour. Scroll to zoom, drag to pan, and use the arrow keys and Enter to pick an exact pixel.
- 4
Check each colour's contrast against white and black, with WCAG AA and AAA results.
- 5
Use the dominant colours bar to add the main colours of the image, then copy your palette as CSS variables, JSON, a Tailwind snippet or plain HEX.
Features
- Pixel-precise picking with an 11 by 11 magnifier loupe
- Zoom up to 6400 percent, pan by dragging, and arrow keys with Enter for exact pixels
- HEX, RGB, HSL, HSV and CMYK values plus the nearest CSS named colour, each one click to copy
- WCAG contrast ratios against white and black with AA, AAA and large text results
- Automatic dominant colour palette with the share of the image each colour covers
- Saved palette of up to 24 colours that survives a reload
- Export as CSS custom properties, JSON, a Tailwind config snippet or HEX
- Screen picker for colours anywhere on your display in supporting browsers
Colours straight from the pixels
Designers and developers often need the exact colour of something they can only see: a brand colour in a logo, a shade in a screenshot, the background of a competitor’s page. Guessing by eye is unreliable, because nearby pixels influence how a colour looks. This picker reads the actual pixel values, shows them magnified so you know exactly which one you are reading, and gives you every common format to paste into CSS, a design tool or a print brief.
From picks to a palette
Every click adds a colour to a palette that is kept in this browser, newest first, up to 24 colours. The dominant colours bar does the same job automatically by clustering the whole image, which is the fastest way to pull a palette out of a photo or an illustration. Export either set as CSS custom properties, a JSON array, a Tailwind colour scale or plain HEX values.
The contrast panel answers the next question: can this colour carry text? Ratios against white and black are calculated with the WCAG formula, and the badges show which accessibility levels pass.
Related tasks
To crop or adjust the image before picking, use the Image Editor, and to build a favicon in your brand colour use the Favicon Generator.
Frequently asked questions
How do I get the exact colour of one pixel?
Why does the colour differ from the one in my design tool?
How is the dominant palette calculated?
What do the AA and AAA badges mean?
What is the screen picker?
Is my image uploaded?
Last updated .