MateenLabs No ads · Runs in your browser
Free Image Tool

Color Picker from Image: Pick Colours and Build a Palette

Open a picture, point at any spot and read its colour as HEX, RGB and HSL. A magnifier shows the exact pixel under your finger or pointer, and you can also move a crosshair with the arrow keys and press Enter to pick.

Want the overall colour scheme instead? The palette finder reads the picture and lists its main colours with the share of the picture each one covers. Copy any value, keep a list of the colours you picked and export them as CSS variables, JSON or a swatch image.

Free Forever No Login No File Uploads Browser Processing

Drop your picture here

or

JPG, PNG, WebP, GIF, BMP or AVIF. It stays on your device.

Choose a picture to get started.

Picking colours from a picture

Designers, developers and crafters often need the exact colour of something in a photo: the blue of a logo, the green of a plant, the skin tone in a portrait. Zooming in and reading one pixel is the reliable way, because photos contain noise and a spot that looks flat to the eye is rarely made of one single value. The magnifier shows the pixel grid so you can see what you are about to pick.

The palette finder groups all the pixels of a reduced copy of your picture into the number of colours you ask for (5 to 10) with a method called median cut. It always gives the same answer for the same picture. A picture with only a few flat colours returns fewer than you asked for, and the page tells you so.

The values you get depend on the picture's colour profile and on how your browser converts it to your screen, so they can differ slightly from what Photoshop, Figma or another app shows for the same spot. Treat them as very close, not as a measurement. Everything runs in your browser and your picture is never uploaded.

  • Pick by mouse or touch with a magnifier loupe, or by keyboard with a crosshair (arrow keys to move, Enter to pick).
  • HEX, RGB and HSL for every pick, plus the nearest named CSS colour as a guess, each with a copy button.
  • A list of the colours you picked, kept in memory only, that you can copy, remove and export.
  • Palette of 5 to 10 main colours with the percentage each covers and a black or white text suggestion that stays readable on it.
  • Export as CSS custom properties, JSON or a PNG swatch image.
  • Uses the browser's EyeDropper (to pick from anywhere on your screen) only where it exists, as an extra.

How to use the Color Picker from Image

  1. Press Choose image or drop a picture onto the box.
  2. Click or tap the picture to pick a colour, or press Tab to focus the picture, move the crosshair with the arrow keys and press Enter.
  3. Copy the value you need, or press Find palette to list the main colours.
  4. Use the export buttons to save the palette or your picked colours as CSS, JSON or a PNG.

Is it private?

Yes. Your picture is processed inside your browser and never leaves your device. This tool does not upload it to Mateen Labs or any external service and does not store it. Picked colours live in the page only. Exports are saved only when you press a button.

Read our tools privacy policy →

Frequently asked questions

Is my picture uploaded?

No. The picture is read and analysed in your browser. Nothing is sent to Mateen Labs or any other service, and the list of picked colours is kept only in the open page. It disappears when you close or reload it.

Why does a colour differ from another app?

Pictures can carry a colour profile, and browsers convert colours for your screen in their own way. Photos also contain noise, so neighbouring pixels differ. The value shown is the pixel the browser gives to the page, which can differ slightly from what other software reports.

How is the palette chosen?

The picture is reduced to a small copy, its pixels are put into groups of similar colours with the median cut method, and each group is averaged. The result is the same every time for the same picture. Very faint or transparent pixels are ignored.

Why did I get fewer colours than I asked for?

A picture with only a few distinct colours, such as a flat logo, cannot be split into more groups. The palette then lists the colours it found and says how many.

How do I pick a colour with the keyboard?

Press Tab until the picture is focused, then use the arrow keys to move the crosshair (hold Shift for bigger steps) and press Enter to pick the colour under it. The readout shows the position and the colour as you move.

What is the EyeDropper button?

Some browsers (for example recent Chrome and Edge) can pick a colour from anywhere on your screen. The button appears only if your browser supports it. Safari and Firefox do not, so use the picture instead.

Related tools