Change Background Color of a Photo

Put the subject of any photo on a new solid colour: white, blue, red or your own shade.

Runs in your browser. Your files never leave your device.

How do I change the background colour of a photo?

To change a photo's background colour, open FixDoks's Background Color tool and pick white, blue, red or any shade you like. An AI model separates the subject from the original scene in your browser, then redraws it on the new solid colour. Download the result as a JPG or a PNG.

Change Background Color at a glance

ModelAI image segmentation
OutputJPG or PNG, any colour
ProcessingIn your browser; your files are not uploaded
PriceFree, no watermark
DownloadFree Google sign-in
Works onChrome, Edge, Safari and Firefox on Windows, Mac, Android and iPhone

How to use Change Background Color of a Photo

  1. Select or drop one or more photos.
  2. Pick a colour with the colour picker or a preset swatch such as white, blue or red.
  3. Click Change background. You can keep changing the colour afterwards and the preview updates instantly.
  4. Download as JPG for a small file, or PNG for the best quality.

Change the background colour in one step

Many forms, ID cards and online profiles ask for a photo on a specific plain colour. Instead of reshooting against a wall, FixDoks uses AI to separate you from the original background and places you on the colour you choose. It works for portraits, product shots and pets.

Common background colours and where they are used

ColourTypical use
WhitePassport and visa photos in many countries, e-commerce product listings, CVs
Light grey or off-whiteCorporate profile pictures, some visa photos
BlueSchool and college ID cards, some office ID cards and admit cards
RedSome ID and visa photos in parts of Asia

Requirements differ between organisations and change over time, so always check the exact colour the form asks for. For government and exam forms, FixDoks has separate tools that also set the correct pixel size and file size in KB.

How it works

An image segmentation model reads the photo and estimates, for every pixel, how likely it is to belong to the subject. That estimate becomes a soft mask. The subject is then drawn over a solid colour using that mask, so hair and soft edges blend into the new colour naturally.

Choosing the right format

For a solid colour background, JPG is usually the right choice: it is widely accepted by upload forms and is much smaller than PNG. Pick PNG if you want to edit the photo further without any quality loss.

Getting a natural look

  • Start with an evenly lit photo. Strong coloured light from the old background (for example a green wall) can tint the edges of hair.
  • Pick a colour close to the original background brightness for the most natural edges.
  • If a thin halo appears around hair, a slightly darker or lighter shade of the same colour often hides it.

Product photos

Tick Square canvas with margin to crop the result to a square with the product centred and a small margin around it. That layout suits online marketplaces and social media shops.

Frequently asked questions

Are my photos uploaded to a server?
No. The AI model is downloaded to your browser and the photo is processed on your own device. Nothing is sent to us, which is also why it works on private or sensitive photos.
Why does the first image take longer?
The first time you use the tool your browser downloads the AI model, about 86 MB. It is saved in your browser, so the next images and later visits start straight away without downloading it again.
Can I use my own exact colour code?
Yes. Click the colour box to open the picker, where you can enter any colour, including a hex code on most browsers.
Will this work for an ID card photo?
Yes for the background. Also check the photo size, face position and file size the ID card office asks for. The image resize and govt form tools can help with the size.
Can I change the colour after processing?
Yes. The cut-out is kept in memory, so picking another colour updates the preview and the download instantly without running the AI again.