Skip to content
DoItJag

Change Photo Background Colour

Swap a cluttered background behind a person for a plain colour. A small AI model finds the person on your device, then you pick a colour and download a PNG or JPG. It is made for photos of people.

or drop a file here · JPG, PNG, WebP · up to 50 MB

Processed on your device. Your files are not uploaded.

About the Change Photo Background Colour Tool

A busy room, a patterned wall or a shadow behind someone can make a good portrait look careless. Replacing that background with one plain colour gives a clean, consistent result for a team page, a CV, a dating profile or a set of staff badges. This tool does the replacement on your own device.

How the person is found

The page uses MODNet, a small open model trained to separate people from their surroundings. The first time you use it, the browser downloads the model (about 7 MB) from Hugging Face and the ONNX Runtime engine from jsDelivr, then keeps both for later visits. The photo itself is never sent anywhere. The model works out, pixel by pixel, how likely each point is to belong to the person, and the background is painted in the colour you pick.

Choosing the colour

Quick buttons offer white, off-white, light grey, two blues, red, green and black, and the colour box accepts any other shade. Changing the colour, the edge softness or the clean-up option does not run the model again, so you can try several looks quickly. The result can be saved as PNG, which keeps every detail, or as JPG, which is smaller and accepted by more upload forms.

Limits worth knowing

The model only knows people. Products, pets and logos are often cut badly or not at all. Fine hair, glasses and loose clothing against a background of similar colour may keep a faint halo; turning off the clean-up option keeps more hair, and the soften slider blends the edge.

Official photos

Many authorities publish their own photo rules, and some do not accept pictures that were edited by software. Read the rules for your passport, visa or exam first. This page does not claim that any colour meets an official requirement. For printed passport-size sheets, use the Passport Size Photo Maker.

Privacy

Apart from the one-time model files, nothing is downloaded or uploaded. Your photo stays on your device the whole time.

How to use Change Photo Background Colour

  1. Choose a JPG, PNG or WebP photo of a person.
  2. Select Change background. The first time, a 7 MB model downloads once and is kept by your browser.
  3. Pick a quick colour or any colour, compare before and after, then download PNG or JPG.

Privacy: how it works

Your photo is processed on your own device by your browser; only the model files are downloaded, the first time. The photo is not uploaded.

Frequently asked questions

Can I use it for passport or visa photos?

Check first. Several authorities, such as the US State Department, do not accept photos changed by software. This tool does not know any official background colour; take that from your authority.

Does it work on products or pets?

Usually not. The model (MODNet) was trained on people. For other subjects the cut-out may miss parts or keep background.

Is my photo uploaded?

No. Only the model and the ONNX Runtime engine are downloaded, the first time. The photo is processed on your device.