Skip to content

Image Color Picker

Choose an image and tap the spot you want: you get its colour as HEX, RGB and HSL, ready to copy into your design, website or slides. Below, an automatic palette shows the colours the image has most of. The image never leaves your device: everything happens in your browser.

Works anywhere in the world, wherever you are.

or drag it here. JPG, PNG, WebP and other formats your browser opens, up to 50 MB.

Colours in the palette

Picked colour

—

Choose an image to start.

The image never leaves your device: colours are read in your browser and nothing is uploaded to any server. Values are in sRGB, the colour space of the web.

About this calculator

How to use it

Press “Choose image” or drag it onto the box. It can be a photo, a logo, a screenshot or any image your browser opens.

On a computer, move the mouse over it: the magnifier shows the 11 × 11 pixels around the pointer up close, with the middle one marked. Click to keep that colour. On a phone, keep your finger on the image and move it: the magnifier appears above your finger so it is not hidden, and the colour is taken when you lift it.

It works with a keyboard too: focus the image with Tab, move pixel by pixel with the arrow keys (Shift for steps of 10) and press Enter.

Every colour you pick is kept in a row of swatches so you can go back to it with one tap. The HEX, RGB and HSL buttons copy the value in the format you need.

HEX, RGB and HSL

All three describe the same colour. RGB gives the amount of red, green and blue, 0 to 255 each. HEX is the same thing written in hexadecimal, two digits per channel: it is the most common format in web design and in tools such as Canva or Figma. HSL describes it the way a person thinks of it: the hue in degrees around the colour wheel, then saturation and lightness as percentages.

For example, a vivid sky blue is rgb(30, 144, 255). In HEX it is #1E90FF and in HSL, hsl(210, 100%, 56%): hue 210°, fully saturated and a little lighter than the midpoint.

The automatic palette

For the palette, the tool makes a small copy of the image — 128 pixels on its longest side — and groups its colours: first it splits them again and again along the channel — red, green or blue — where they vary most, then it adjusts each group with a few rounds of k-means so the colour sits at the group's centre. You can ask for 5 to 8 colours.

Each colour shows the share of the image it covers. In an image that is half red, 30% blue and 20% green, the palette gives exactly those three colours at 50%, 30% and 20%, and invents no colours that are not there even if you ask for more. Transparent pixels, such as the background of a cut-out logo, do not count.

“Copy palette” copies every HEX code separated by commas, ready to paste.

Your image never leaves your device

The image is opened and read by your own browser. It is not uploaded to any server, not stored, and neither the image nor the colours you pick are sent to analytics. The “Share” link only carries how many colours you want in the palette.

Important limitations

  • Accepts images up to 50 MB in the formats your browser opens. If an image is too large to read pixel by pixel on your device, it is read at a smaller size and the page says so.
  • Values are in sRGB, the web's colour space. A photo taken in a wide colour format is converted to sRGB, so a very intense colour may come out slightly different from what a colour-managed editing program would show.
  • In JPG photos, compression makes neighbouring pixels vary a little even when they look the same. Use the magnifier to choose the spot, or the palette for the average colour of an area.
  • The palette is a summary made from a small copy: very fine details, such as a thin line of another colour, may not show up.

Frequently asked questions

Choose the image and tap or click the spot you want. The HEX code appears at the top, for example #1E90FF, with the RGB and HSL values below, each with its own copy button.

Yes. Keep your finger on the image and move it: a magnifier above your finger shows the exact pixel, and the colour is taken when you lift it.

No. It is read in your browser: it is not sent to any server, not stored, and does not go to analytics. When you close the page, it is gone.

Because photos, especially JPGs, have noise and compression: neighbouring pixels vary by a few units even when they look identical. The palette averages whole areas, so it gives a more representative colour.

None in the colour: they are two ways to write the same thing. rgb(30, 144, 255) and #1E90FF are the same blue; 30 is 1E in hexadecimal, 144 is 90 and 255 is FF.

This calculation runs in your browser and is never sent to a server. Your last values may be saved on your device only, for convenience. Results are estimates and are not financial, tax, accounting or legal advice.