Change the colour of an object

Every pixel is remapped locally — this page has no server to send to.

Mark the object with a rectangle, an ellipse or the brush, then sample its colour. The change happens inside the mark and nowhere else.

Open an image, then pick the colour you want changed.

Open a photo and drag a rectangle around the object; then switch to the dropper and tap its colour.

Drop an image here, or browse for one

JPG, PNG, WebP and GIF decode in every browser; BMP, TIFF and ICO open where yours knows them, and a TIFF usually only does in Safari. HEIC pulls a codec the first time one arrives.

Nothing to hand?

Sampled
#be241f → #00999d
Coverage
20.9% of the frame
One frame, one selection, and the number that decides it. The paint rotates onto a teal hue at the lightness it already had, so every highlight and shadow in it survives. The brick, the tarmac and the jacket are outside the selection and are the pixels they arrived as. Every figure here is computed by the same function the tool runs on a photograph.

A region that the colour then refines

The rectangle is a fence, not a mask. Inside it the ordinary selection runs — sampled colour, three tolerances, soft band — so the object's edge is wherever its colour stops, even if the rectangle is generous. Outside it nothing changes, byte for byte.

If the coverage reads zero after you draw, the rail says whether the colour is missing from the picture or simply outside the region, so the fix is obvious: move the shape, or sample again.

Where region-first goes wrong

  1. A background of the same colour inside the rectangle is still selected; tighten the shape or add a “not here” shape over it.
  2. A shape belongs to this picture's frame, so it does not carry over when the recipe is sent to the batch queue.

Identity photographs such as passport photos must be unaltered. Do not use a recolour on a photo you will submit as ID.

Questions people bring to this page

How is this different from replacing a colour?
Replace colour is colour-first: it changes a colour wherever it appears. This door is region-first: you mark the object, and the colour test only runs inside the mark. Use it when the same colour also appears somewhere you want left alone.
Do I have to trace the object exactly?
No. Draw a loose rectangle or ellipse around it, then sample the object's colour. The edge of the change is decided by the colour test, at full resolution on export, not by where the rectangle's edge falls.
Can I type the rectangle instead of dragging it?
Yes. Every shape has four fields — left, top, width and height in per cent of the frame — plus a feather. They are the keyboard and touch route to “only here”, and they are redrawn identically at every size.

Next door