Skip to content
Leavesc

Color Picker

Pick any pixel on screen and read its HEX, RGB and HSL values.

  • 100% client-side
  • free
  • no sign-up

An eyedropper that reads the colour under the cursor and hands it back as HEX, RGB and HSL, with a generated palette beside it. Handy when a design mock-up needs to match an existing screenshot exactly. We link out to Browserling rather than shipping a second copy of a tool that has been around for years.

Open external tool

This tool runs on a third-party site. We link out, we do not host it.

Runs entirely in your browser. Your files are never uploaded to a server.

Getting a colour out of a screenshot used to mean opening an image editor, opening the eyedropper, and reading six characters of hexadecimal out of a colour dialog. A screen colour picker removes those steps: point at the pixel, read the value, paste it into your stylesheet. It sounds trivial, which is exactly why it is worth getting right. The number you read is not the colour that was designed, it is the colour that a specific display is currently emitting, after the operating system's colour management, the browser's own scaling and whatever the screenshot pipeline did along the way. A good picker tells you the value and the context; a careless use of it propagates a wrong value into production and nobody notices until the design review. This page links out to Browserling, a tools site that has been running this kind of utility for many years, and this guide is about the places where picking a colour goes wrong.

What the picker is actually measuring

The value is read from a canvas, which means it is the composited pixel value in sRGB as the browser sees it. Three things can shift that before you ever click. Display gamma and brightness settings change every value, so the same file looks different on two monitors sitting side by side. Operating systems that manage wide-gamut displays may map P3 content into sRGB for the page, so a colour designed in P3 reads back as a slightly duller hex. And if you zoom the browser, the pixel under the cursor is no longer the pixel of the original design. None of this is a bug in the tool; it is a property of sampling a display. If you need the authoritative value, take it from the design source - the Figma frame, the CSS token, the official brand asset - and use the picker to check whether what was shipped matches.

Why a photographed colour is not a brand colour

Sampling from a photo of a poster, a business card or a product in the field measures the lighting, not the ink. Automatic white balance in the camera pipeline shifts every hue, glossy surfaces add a specular highlight, and a phone camera compresses chroma in a way that moves saturated colours the most. The result is a hex value that will look right on your screen and wrong everywhere else. If you are matching a printed or physical reference, the honest workflow is to use the supplier's declared colour specification, or a spectrophotometer reading, and to treat the screen sample as a starting point that still needs proofing. For anything on the web, sampling the original design file is both faster and more accurate than any picker.

Pairing the colour with a contrast check

A colour on its own is half a decision. Before you commit a text colour or a button background, check the contrast ratio against the background it will sit on: the WCAG 2.1 accessibility guidelines ask for a ratio of at least 4.5 to 1 for normal body text and 3 to 1 for large text and interface boundaries, and those numbers are derived from luminance, not from taste. The palette the picker generates for you is a good start, but a palette that passes on hue variety can still fail badly on readability. Two habits cover most of it: check the pairs you actually use rather than every pair in the palette, and check them again in the greyscale or in dark mode, because a design that reads well in colour can collapse when contrast is the only signal left.

Frequently asked questions

Is the color picker free to use?

The tool this page links to is offered free, and so is everything on this site. Some tools ask you to solve a small challenge or watch an advertisement before continuing, which is how they pay for the service; no account is required for the basic colour reading.

The eyedropper does not start in my browser. What gives?

Screen picking relies on a browser API that is not available everywhere. Chrome and Edge ship an eyedropper interface that a page can request; Firefox and Safari do not expose the same capability, so a page built around it will either fall back to manual sampling or refuse to start. If picking from the screen is not essential, pick from a loaded image instead - that path works in every browser.

Will the HEX value match my design file exactly?

Only if the design is displayed in sRGB and the display is calibrated. Wide-gamut designs, a non-standard monitor profile and different brightness settings will all change what the sampler reads. Treat the picked value as a measurement, and confirm the final colour against the original asset before it ships.

Can I pick a colour from an image on my computer?

Loading the image into the page and sampling from it works in any modern browser, and that is the more reliable of the two methods because it does not depend on the screen picking API. What you can extract from a photo is limited by the original: JPEG compression, resizing and strong lighting all shift the values slightly, so do not treat a sampled value as a specification.

Related tools