ColorApr 1, 2026 ยท Updated Oct 13, 2026 ยท 3 min read

How to Pick Any Color from Your Screen

Pick colors from your screen with the EyeDropper API (Chrome and Edge only) or your OS picker, and know when the value is wrong: sampled near an edge of a JPEG screenshot, a brand color drifted by up to 6.2 CIEDE2000.

Colorful, painting, abstract โ€” illustrating How to Pick Any Color from Your Screen
๐ŸŽฏ
Try the Color Picker
Free, no signup
โ†’
DG
Derek Giordano
Designer & Developer
In this guide
01The Browser EyeDropper02Operating-System Pickers03Where You Sample Matters: Measured04Picking Several Colors at Once

The Browser EyeDropper

The EyeDropper API lets a web page ask you to click any pixel on screen and returns its color, even outside the browser window. MDN's compatibility data lists it in Chrome and Edge 95; Firefox and Safari do not support it, so a picker built on it needs a fallback such as uploading a screenshot. Our Color Picker uses EyeDropper where available and otherwise samples an uploaded image, and gives HEX, RGB, HSL and OKLCH.

Operating-System Pickers

Where You Sample Matters: Measured

A sampled color is only as good as the image it comes from. We drew a #FF6B6B square and a 2px #0575E6 line on white, saved the picture as PNG and as JPEG at two quality settings, and sampled three spots (October 14, 2026; script in our test folder). The difference is CIEDE2000; around 2 is just noticeable side by side, above 4 clearly so:

ImageCenter of square1px inside the square's edgeMiddle of the thin line
PNG#ff6b6b (0.0)#ff6b6b (0.0)#0575e6 (0.0)
JPEG quality 90#ff6b6b (0.0)#e77775 (4.5)#1d6fc5 (4.2)
JPEG quality 75#ff6b6b (0.0)#e7787f (6.2)#1e6ec7 (4.1)

In the middle of a flat area even a JPEG gave the exact value, but near edges and in thin strokes, where JPEG blends color across 2ร—2 pixel blocks, the sample was visibly off. So: sample the center of the largest flat area, prefer a PNG screenshot or the source file, and treat a color taken from a logo's thin outline or small text as approximate.

Picking Several Colors at Once

To get a palette rather than one pixel, the Image Color Extractor clusters an uploaded image's pixels into its dominant colors. Note that colors read from an image in the browser are converted to sRGB, so a Display P3 photo's most saturated colors come back clipped to the nearest sRGB value.

Frequently Asked Questions

How do I pick a color from my screen?+
Use the Color Picker tool's eyedropper button (powered by the browser's EyeDropper API) to click any pixel on your screen and get its exact color value. Works in Chrome and Edge.
Can I pick colors from outside the browser?+
The browser EyeDropper API can sample from anywhere on screen, including other apps. On macOS, Digital Color Meter works natively. On Windows, PowerToys Color Picker (Win+Shift+C) samples from any window.
What color format should I use?+
HEX for CSS stylesheets, RGB/RGBA for JavaScript and transparency, HSL for intuitive color adjustment, CMYK only for print design.
Try it yourself

Use the Color Picker โ€” free, no signup required.

โšก Open Color Picker
DG
Derek Giordano
Written by the creator of Ultimate Design Tools. BA in Business Marketing.