Skip to content
JustTools

Image Color Picker

Open a photo, screenshot or logo and click any pixel to get its colour code in HEX, RGB, HSL, HSV and CMYK — with a magnifier for exact pixels, the nearest colour name and the image’s main colour palette.

Runs in your browser Free · no sign-up

At a glance

  • Click any pixel to get its colour as HEX, RGB, HSL, HSV and CMYK, each with a copy button — transparent pixels also give RGBA and 8-digit HEX.
  • A magnifier shows the 11 × 11 pixels around the pointer; sample a single pixel or the average of 3×3, 5×5 or 9×9 pixels to smooth out noise.
  • Shows the nearest CSS colour name and the closest Tailwind CSS colour, matched with the CIEDE2000 colour-difference formula.
  • Builds the image’s colour palette — its 5, 8 or 12 main colours with how much of the image each covers — ready to copy as a HEX list or CSS variables.
  • Checks contrast against white and black text (WCAG ratio and AA/AAA level). In Chrome and Edge on a computer you can also pick a colour from anywhere on your screen.
  • Works with JPG, PNG, WebP, HEIC and pasted screenshots. The image never leaves your browser.

Step by step

How to pick a colour from an image

  1. 1

    Open the image

    Drop a photo, screenshot or logo on the page, browse for it, or paste a screenshot with Ctrl+V.

  2. 2

    Aim with the magnifier

    Move over the image to see the pixels up close. On a phone, drag your finger and lift it to pick.

  3. 3

    Click to pick

    Click the pixel you want. Its HEX, RGB, HSL, HSV and CMYK codes appear on the right.

  4. 4

    Copy the code

    Press the copy button next to any format, or use the palette and history to copy several colours at once.

Features

Everything you need, nothing you don’t

Pixel-exact

A zoomed loupe and arrow-key nudging land on exactly the pixel you want, even in fine details.

Every format

HEX, RGB, HSL, HSV, CMYK, a CSS name and a Tailwind class — copy whichever your project uses.

Instant palette

The main colours of the whole image, worked out automatically and sorted by how much space they take.

Accessible colours

See at once whether the colour is readable on white or on black, with WCAG contrast ratios.

Colour history

Every colour you pick is kept in a row of swatches, so you can compare and copy them all.

Private

Pixels are read in your browser — logos, designs and screenshots are never uploaded.

Colour code formats explained

FormatExampleUsed for
HEX#1E90FFWebsites (HTML and CSS), design apps, brand guides
RGBrgb(30, 144, 255)CSS, screens, video and most software
HSLhsl(210, 100%, 56%)CSS — easy to make lighter, darker or less saturated versions
HSV / HSBhsv(210, 88%, 100%)Colour pickers in Photoshop, Figma and other design tools
CMYKcmyk(88%, 44%, 0%, 0%)A starting point for print — check final print colours with your printer

Tips for accurate colours

  • Use a PNG or a high-quality original where you can: JPG compression and resizing blend neighbouring pixels.
  • In photos, average 3×3 or 5×5 pixels — single pixels vary because of noise and texture.
  • Pick from flat areas of a logo, not its edges, where colours blend into the background.
  • Screenshots show colours as your screen displays them, which may differ slightly from the original design file.

FAQ

Frequently asked questions

How do I find the HEX code of a colour in an image?

Open the image here and click the colour. The HEX code (such as #1E90FF) appears at the top of the list with a copy button, together with RGB, HSL, HSV and CMYK.

Is my image uploaded?

No. The image is opened and read entirely in your browser, so it never leaves your device.

Can I pick a colour from my screen, outside the image?

Yes, in Chrome, Edge and other Chromium browsers on a computer: press Pick from screen and click anywhere. Other browsers don’t offer this yet — take a screenshot and paste it instead.

How is the colour palette made?

The tool groups similar pixels together (k-means clustering in the CIELAB colour space, which matches how people see colour differences) and shows each group’s average colour, largest first.

Why does the colour look slightly different from my design file?

JPG compression, resizing and screen colour profiles all shift colours a little. For brand colours, pick from the original PNG or SVG export, or average a few pixels.

What does the contrast ratio mean?

It is the WCAG measure of how readable text is: at least 4.5:1 for normal text (AA) and 7:1 for AAA. The two cards show the picked colour as text on white and on black.

Keep going

Browse every tool

Last updated Report a problem or suggest a feature