YAQUIZO
Create free

Image Color Picker

Click any pixel for its HEX, RGB, HSL and CMYK code — and the name of the colour. Works on an image, anywhere on your screen, or straight from your camera. Free, and nothing is uploaded.

Drop an image here

Then click anywhere on it to read the exact colour. JPG, PNG, WebP, GIF, AVIF.

No file? Use Pick from screen to share a tab or window and click the colour straight off it.

Your image never leaves this device. Everything happens in your browser.

Already have a code?

Paste a hex, an rgb() value or a CSS colour name to convert it and see its name, harmonies and contrast.

Getting a colour out of an image sounds like a one-click problem, and most of the time it is. The reason so many pickers give you a slightly wrong answer is that they sample a single pixel from a scaled-down preview. A pixel of a JPEG is not the colour of the thing it belongs to — it is that colour plus whatever the compressor did to it, which on a photograph can be several shades out. This one reads the image at full resolution and lets you average a small square, which is what actually gets you the colour you can see.

The other half of the problem is aim. At fit-to-width, one screen pixel may be several image pixels, and your cursor is sitting on top of the target. The loupe magnifies the area under the pointer and outlines the exact square being read, so picking the shirt rather than the sliver of background behind it stops being guesswork.

And often there is no file at all. If the colour is on a website, in an app, or in a video playing in another window, share that tab or window and it appears here to click — no screenshot, no saving, nothing recorded. If it is a physical object in front of you, the camera does the same. Same readout either way.

How to pick a colour

  1. 1. Bring in a colour

    Upload an image, or use "Pick from screen" and choose the tab, window or whole screen you want — it appears in the picker as a live view. Or open your camera. Only the first of those needs a file.

  2. 2. Hover to aim

    A magnified loupe follows the cursor, showing the individual pixels and outlining the exact square being sampled. This is what stops you picking the pixel next to the one you meant.

  3. 3. Set the sample size

    One pixel gives you the literal value, compression noise and all. 3×3 or 5×5 averages a small square, which on a JPEG is usually closer to the colour you can actually see.

  4. 4. Click to pick

    The panel fills in with HEX, RGB, HSL, HSV, CMYK and Lab, the closest named colour, contrast ratios, tints and shades, and a harmony set. Copy any of them with one button.

  5. 5. Take the whole palette

    Every image also yields a palette. Choose 4 to 12 swatches and export it as CSS variables, SCSS, a Tailwind block or JSON.

Three places a colour can come from

What you get for every colour

Why the colour name is hard to get right

Naming a colour looks like a lookup: take the picked value, find the nearest entry in a list of named colours, print it. That is what most tools do, and it is why they call so many things green. RGB is a cube of numbers, not a map of perception — green occupies an enormous volume of it and blue a comparatively small one, so a nearest-neighbour search in RGB is biased toward the names that happen to sit in the roomier regions.

Matching here happens in CIE Lab, a space designed so that equal numeric distances look like equal visual differences. The distance is reported alongside the name as a ΔE figure: below about 2.5 the two colours are hard to tell apart, and the name is safe to use. Above that, the tool says the name is only the nearest one rather than pretending to certainty it does not have — because for most colours in most photographs, the true answer is that nothing has a standard name for it.

Frequently asked questions

How do I get the color code from an image? +

Upload the image above and click the pixel you want. The HEX code appears immediately, along with RGB, HSL, HSV, CMYK and Lab values, and a copy button for each. There is no sign-up and no limit on how many colours you pick or how large the image is.

Can I pick a color from my screen instead of a file? +

Yes. "Pick from screen" opens your browser's share dialog, where you choose a specific tab, an application window, or the entire screen. What you pick appears in the picker as a live view, and you then click the area you want with the loupe to aim — exactly as you would on an uploaded image. You can freeze the frame first if the content is moving. Nothing is recorded or transmitted: the frames go straight into a canvas in the page and the capture stops when you clear it.

How do I find a color from a website? +

Use "Pick from screen" and choose that site's tab from the share dialog. The page appears in the picker and you click the colour you want. This works on images, video, gradients and canvas elements — everything an element inspector cannot tell you. If you only have a screenshot, upload it instead and click. Note that a picked pixel is the rendered colour, so where a site applies opacity or a filter you get what you actually see rather than the value written in its stylesheet.

What is the "instant eyedropper" button? +

A shortcut. It uses the browser's built-in EyeDropper API to grab a single pixel from anywhere on your display with no share dialog at all — quickest when you want one colour and know exactly where it is. It only appears in Chrome, Edge and Opera, which are the browsers that implement it, and it has no loupe or averaging. "Pick from screen" is the fuller route and works everywhere that can share a screen.

Can it identify a color from my camera? +

Yes. "Use the camera" opens a live view you can point at an object — a wall, a fabric, a product — and clicking reads the colour. Freeze the frame first if the image is moving. One caveat worth stating plainly: a camera reports the colour under the light in the room, and its white balance will shift that. For matching paint or fabric, use flat daylight and treat the result as a strong starting point rather than a measurement.

How do I find the name of a color in an image? +

Pick it, and the name appears under the hex code. The match is done in CIE Lab rather than RGB, because RGB distance does not match how different two colours look — green occupies a huge part of that space and blue a small one, so a naive nearest-neighbour search calls far too many things green. The tool also tells you how close the match is: if the picked colour is not genuinely near any named one, it says so rather than printing a confident name for something 30 ΔE away.

Which color names does it use? +

The CSS named colours. That is a deliberate choice over a larger paint-catalogue list: every name reported here is also a valid CSS keyword, so you can paste it into a stylesheet and get exactly the colour shown. Each is also tagged with a plain family — red, blue, brown — because someone asking "what colour is this" usually wants "blue", not "cornflower blue".

Why does the color look different from what I expected? +

Usually the sample size. A single pixel of a JPEG is not the colour of the thing it belongs to; it is that colour plus compression artefacts, which on a photo can be several shades out. Switching to 3×3 or 5×5 averages a small square and lands much closer to what you perceive. The second cause is picking near an edge, where pixels are a blend of both sides — the loupe shows you when that is happening.

Is my image uploaded anywhere? +

No. The file is read into a canvas in your browser and every pixel is sampled locally. Nothing is transmitted, no copy is kept, and once this page has loaded the tool works with the network off. The same is true of the camera: the video stream is never sent anywhere, and the stream is stopped as soon as you clear it or leave.

How is the palette generated? +

By median cut. The obvious method — count the colours and take the most frequent — reliably returns five near-identical shades of whatever fills most of the frame, because a photographic sky alone contains thousands of distinct but similar values. Median cut repeatedly splits the colour volume at the median of its widest axis, so each swatch stands for a genuinely different region of the image.

Are the CMYK values accurate for printing? +

They are the standard arithmetic conversion, and they are a reasonable starting point for a design brief — but they are not proofing values. A real RGB-to-CMYK conversion depends on the press, the ink and the paper, encoded in an ICC profile that a browser has no access to. Any online tool giving you CMYK without asking which profile is doing the same arithmetic; this one just says so.

What is the contrast ratio for? +

Accessibility. It shows how readable your picked colour is as text on white and on black, using the WCAG 2.1 formula. The thresholds are 4.5:1 for normal body text and 3:1 for large text — below those, people with low vision will struggle, and it is the most common accessibility failure on the web.

Can I convert a hex code I already have? +

Yes. Paste it into the field and press Convert. It accepts #4A90D9, the three-digit shorthand, eight-digit hex with alpha, rgb() and rgba() in any spacing, and CSS colour names like tomato. You get the same full readout — every format, the name, the harmonies, tints, shades and contrast — without needing an image at all.

What are tints, shades and harmonies? +

Tints are the colour mixed toward white and shades toward black, which is how you build a usable scale from a single brand colour rather than guessing. Harmonies are colours at fixed angles around the hue wheel: complementary sits opposite for maximum separation, analogous takes the neighbours for a calm low-contrast scheme, triadic spaces three evenly. Click any of them to make it the selected colour.

Which image formats work? +

Anything your browser can display: JPG, PNG, WebP, GIF, AVIF, BMP and SVG. Screenshots are the most common input and work exactly like photos. Very large images are fine — sampling reads the pixel directly at full resolution rather than from a scaled-down preview, so what you pick is the real value.

Other free tools