Swelıty
Tools for everyone

Free Online Image Color Picker

Click a picture to pick a colour with a magnifier, or get its main colours as a palette.

Add a picture

Drag a picture here, or choose one. Then click it to pick a colour.

How to use

  1. Add a picture. It is shown on the page, and you can zoom in with the buttons, the mouse wheel with Ctrl or Cmd, or by pinching.

  2. Click or drag over the picture. A magnifier shows the pixels under your pointer, and the colour appears at the right.

  3. Copy the HEX, RGB, HSL or name with the Copy button next to it. Type an X and Y to read an exact pixel.

  4. Your picks from this picture are kept in the history. Click one to use it again, copy all of them, or clear the list. When you add another picture, the history starts again, so the colours of two pictures are never mixed.

  5. Under the picture, choose how many main colours you want (5 to 12), click a colour to copy it, or export the palette as CSS variables or JSON.

Why use this tool

  • The real pixel

    The colour comes from the full-size picture, even when it is zoomed out or the page shows a smaller copy. The position on screen is turned into the exact pixel of the original.

  • Magnifier and zoom

    A loupe shows an 11 by 11 block of pixels around the pointer. Zoom up to 800% to pick single pixels, with the mouse, the keyboard or a touch screen.

  • HEX, RGB, HSL and a name

    Every format has its own Copy button. The name is the nearest of the 148 CSS colour names and is marked as near unless it matches exactly.

  • History of picks

    The last 60 colours you picked from the current picture are kept while the page is open, with Copy all and Clear. A new picture starts a new list.

  • A palette of the main colours

    A median cut finds 5 to 12 main colours and the share of the picture each covers. Click a colour to copy it.

  • Export the palette

    Copy or download the palette as CSS custom properties or as JSON with HEX, RGB and share.

  • Photos upright

    Phone photos with an orientation tag are turned upright first, so the picture and the pixel positions match what you see.

  • Eyedropper from the screen

    In browsers that have the EyeDropper feature, an extra button picks a colour from anywhere on your screen, not only from the picture.

About this tool

Image Color Picker finds the exact colour of any point in a picture. Add an image, click or drag over it (or touch it on a phone), and read the colour as HEX, RGB and HSL with the nearest CSS colour name, each with a Copy button. A magnifier shows the pixels around your pointer so you can aim at a single pixel, and you can zoom in to the pixel level. The tool can also pull the main colours out of the picture as a palette of 5 to 12 colours with their share of the picture, and export it as CSS variables or JSON. The colour is read from the original pixels, not from the picture as it is shown on screen.

Frequently asked questions

No. It is opened and read in your browser. The colours are worked out on your device.

It is the colour of the pixel as your browser decodes the picture. For PNG that is exactly what is stored. A JPEG is lossy and its pixels carry compression noise, so a single pixel can differ slightly from its neighbours. Zoom in and check a few pixels if you need to be sure.

The tool tells you how opaque the pixel is. The colour shown is without the see-through part, and on a pixel that is not fully opaque it can be slightly off because browsers store such pixels in a premultiplied form.

The picture is reduced to at most 512 pixels on its longest side, then the colours are grouped by median cut: the colour space is split again and again where the picture has the most pixels. Each colour is the average of its group. The shares are close to the real ones but not exact, and see-through pixels are ignored.

The EyeDropper feature is built into some browsers, such as Chrome and Edge, and is missing from others. The button only appears where it exists. Clicking the picture works everywhere.

Yes. Touch and drag over the picture to pick, and the magnifier appears above your finger. To move around a zoomed picture, switch on the hand tool.

Up to 400 megapixels, if your browser can open it. Above 50 megapixels the screen shows a reduced copy, but colours are still read from the full-size picture.