Change Photo Background Colour

Replace a plain photo background with a solid colour, right in your browser. Upload a photo, click its background to sample it, pick a new colour, then preview and download.

Last updated: October 2026

Files are processed only in the browser and are never uploaded to a server. Your photo never leaves this device.

Important limitation: This tool only works well on photos that already have a fairly even, solid background. Complex backgrounds, busy patterns and fine hair detail are NOT in scope for this tool — precise cutout of hair and complex scenes needs the separate AI background remover, which is a different tool.

Upload a photo to start.

Click the preview to sample the existing background colour, or use a corner sample:

Sampled background colour: none yet

For ID photos, check the issuing authority's required colour before you submit. This tool does not check it for you.

Click the preview to sample a colour. The preview shows the processed result after you press “Replace background & preview”.

Results are a simple colour replacement, not a checked ID-photo service. Verify the background colour, size and other requirements with the issuing authority before submitting.

Steps

  1. Upload one JPG, PNG or WebP photo with a fairly even, solid background.
  2. Click an area of the existing background in the preview, or sample a corner, to set the sampled colour.
  3. Pick the new background colour (or a custom colour), then adjust tolerance and edge softening.
  4. Press “Replace background & preview”, check the edges in the preview, and adjust the sliders if needed.
  5. Download the result as JPG or PNG.

Frequently asked questions

What kind of photo does this tool work on?

This tool only works well on photos that already have a fairly even, solid background. Complex backgrounds, busy patterns and fine hair detail are NOT in scope for this tool — precise cutout of hair and complex scenes needs the separate AI background remover, which is a different tool.

Is my photo uploaded to a server?

No. Your file is read in your browser only and is never uploaded to a server.

How do I sample the background colour?

Click on an area of the existing background in the preview, or use a corner sample button. The clicked pixel colour becomes the sampled colour.

What do tolerance and feather do?

Tolerance is how close a pixel colour must be to the sampled colour (RGB distance) to be replaced. Raise it if background survives; lower it if the subject starts disappearing. Feather softens the boundary so edges are not hard and jagged.

Which new background colour should I choose for an ID photo?

Check the issuing authority's required colour before you submit. Final acceptance is the issuing authority's, not this tool's.

Does this tool cut out hair or use AI?

No. This is simple colour-distance replacement, not AI cutout and not hair segmentation. For complex backgrounds, use a separate tool for complex backgrounds.

Should I download JPG or PNG?

JPG is smaller and accepted for most online uploads. PNG is larger and lossless. Both downloads here have a solid background, not transparency.

Related tools