Found a color you like on a website, in a photo or in a design? Pick it and get its code. Click the button and then any pixel on your screen, or load an image and click a spot on it. The tool shows the color with its HEX, RGB and HSL values and checks how readable text is on it. Everything runs in your browser, and nothing you pick and no image you load is sent to a server.
The fastest way to match a color is to pick it. No guessing, no squinting at a swatch, just the exact value that is on your screen.
How to use the screen eyedropper
- Pick from your screen: press Pick from screen, then click any pixel in any window. Press Esc to cancel.
- Pick from an image: choose an image file, or paste one, then click a spot on it. Move the pointer to preview colors first.
- Type a color: enter a HEX code or use the color swatch if you already know what you want.
- Read the values: the result shows the HEX, RGB and HSL codes and the contrast against white and black.
- Copy a value: click a row to copy one value, or use Copy HEX or Copy all values.
- Reuse a color: your last twelve picks are saved as swatches, so you can come back to an earlier color.
What the color values mean
The same color can be written in several ways. Use whichever one your project asks for.
| Format | Example | Good for |
|---|---|---|
| HEX | #1976D2 | CSS, design tools and brand guides. The most common format. |
| RGB | rgb(25, 118, 210) | CSS and code. Gives the red, green and blue amounts from 0 to 255. |
| HSL | hsl(210, 79%, 46%) | Making lighter or darker versions. Gives hue, saturation and lightness. |
How the picker works
The screen picker uses the EyeDropper feature built into some browsers. When you press the button, the browser lets you click anywhere on your screen and returns the color of that pixel. The image picker draws your image on a canvas and reads the color of the pixel you click. The contrast ratio uses the same formula as WCAG 2 and runs from 1:1 to 21:1. Normal text needs at least 4.5:1 to pass level AA.
What this tool does and does not do
At the time of writing, the screen picker works in desktop Chrome, Edge and Opera. It is not available in Firefox or Safari, or in most mobile browsers. In those browsers, the button is turned off, and you can still pick colors from an image. The tool reads one pixel at a time, so a photo with grain or a compressed JPEG may give slightly different colors in nearby spots. Colors also depend on your screen and color settings, so the same pixel can look a little different on another display.
Tips for better results
- Zoom in first: if you want a color from a small icon or a thin line, zoom the page or image so the area is larger.
- Pick from flat areas: solid areas give clean colors, while edges and gradients mix colors.
- Use PNG when you can: PNG keeps colors exact, while JPEG can shift them slightly.
- Pick a few spots: click several places on a photo and compare the results, then choose the one that best matches what you see.
- Check the contrast: look at the ratio before you use the color for text or a button.
- Save the HEX code: keep the HEX in your notes or style guide, so you can find the color again later.
Pick the color, copy the code and check the contrast. A few seconds here saves a lot of trial and error later.
Common eyedropper problems
- The Pick from screen button is turned off: your browser does not support the screen picker. Use Chrome, Edge or Opera on a computer, or pick from an image instead.
- Nothing happens after I click the button: press the button again and click a pixel. If you pressed Esc, the pick was cancelled.
- The color is not what I expected: the pixel may sit on an edge or in a gradient. Click a flat area nearby.
- My image will not load: use a common format such as PNG, JPEG, WebP or GIF, and try a smaller file.
- My colors disappeared: your recent colors are saved in your browser. Clearing site data or using a private window removes them.
Frequently asked questions
Is this screen eyedropper free?
Yes. There is no sign-up and no limit on how many colors you pick.
Can it pick a color from any website or app?
In a browser that supports the screen picker, yes. You can click any pixel on your screen, including other windows and apps.
Why does it not work in Firefox or Safari?
Those browsers do not offer the EyeDropper feature at the time of writing. You can still load an image or a screenshot and pick colors from it.
Can I use it on my phone?
The screen picker is not available in most mobile browsers, but the image picker works. Take a screenshot, load it and tap the color you want.
What is the difference between HEX, RGB and HSL?
They are three ways to write the same color. HEX is a short code, RGB gives red, green and blue amounts, and HSL gives hue, saturation and lightness, which is handy for lighter and darker versions.
What contrast ratio do I need?
WCAG AA asks for 4.5:1 for normal text and 3:1 for large text. Level AAA asks for 7:1 and 4.5:1.
Are my images or colors sent anywhere?
No. Everything runs in your browser. Images are never uploaded, and your recent colors are saved only on this device.