All guides

How to find the HEX color of a point in an image

Sometimes you do not need a whole palette, just one color: the blue of a logo, the shade of a dress in a product photo, the paint on a door you photographed on holiday. Image Color Palette has a color picker for exactly that, and it tells you the HEX code of whatever you point at.

Picking a color, step by step

  1. Open your image with Choose image, or drop or paste it onto the page.
  2. Press Pick color.
  3. On a touch screen, touch the image and drag to the spot you want. With a mouse or trackpad, click the spot.
  4. A loupe magnifies the pixels around the point, so you can see whether you landed on the color or on an edge next to it.
  5. The result appears as Color at this point, with its HEX code. Copy it, or choose Replace palette color and then the swatch it should take over.

If you prefer the keyboard, the arrow keys move the point, holding Shift moves it faster, Enter picks the color and Escape leaves the picker.

Why one point can be misleading

A photo is not a flat drawing. The camera adds noise, light falls unevenly, and compression softens edges. Point at a red car and the bonnet might give a deep red in the shadow, a pinkish red in a highlight and a muddy tone where the paint meets the sky. All three are honest readings of those pixels, but only one is the color you mean.

A few habits help:

For very large images, the picker reads a reduced copy so the page stays quick. That is why the result is called the color at this point rather than an untouched pixel from the original file. On a solid area this makes no practical difference.

Putting the picked color into your palette

The automatic palette is a good start, but you may know better: perhaps the green of a shop sign matters more to you than the grey of the pavement. After picking, choose Replace palette color and tap the swatch to swap. The new swatch is marked Picked, so you can tell it apart from the automatic ones. Changed your mind? Restore automatic color brings back what was there before.

Every swatch, picked or automatic, opens a details panel with the HEX code alongside RGB, HSL and OKLCH, plus In the image, which tells you roughly how much of the picture shares that color.

A quick example

Say you want paint that matches the terracotta pot in a photo of your balcony. Pick a point in the middle of the pot, on the side in daylight rather than shade, copy the HEX code and take it to the paint shop or compare it with a color chart. A screen and a painted wall never look quite the same, so treat the code as a strong starting point and check a sample in the room before buying a full tin.

Get a color palette from your image → Image Color Palette