GlobalFree to use

Change photo background colour

Replace the background of a photo with white, blue, red, grey or any colour you pick, for profile, ID-style and product pictures.

Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.

Input

Tip: press Ctrl + Enter to run

Your result

Your result will appear here.

About this tool

A plain coloured background makes a portrait or product photo look professional and consistent: light blue or grey for staff photos, white for listings, a brand colour for social media, or green for compositing in video. This tool cuts out the subject with an AI model running in your browser and places it on the colour you choose, then saves a JPG or PNG.

Official passport and visa photos have strict rules about size, head position and lighting, and some authorities do not accept edited photos; this tool only changes the background colour. The U²-Net segmentation model (about a 26 MB download, 44 MB once unpacked) downloads the first time and is then cached by your browser; your photo itself is never uploaded. Photos larger than 4,096 pixels on the longest side are scaled down before processing.

How to use it

  1. Choose a photo.
  2. Pick a preset colour or choose your own.
  3. Choose smooth or sharp edges and JPG or PNG.
  4. Run it and download the result.

How the calculation works

The segmentation model creates a foreground mask; the original pixels are composited over a solid canvas of the chosen colour using that mask as alpha. Smooth edges blend gradually, sharp edges use a threshold.

AI cut-out → composited over a solid colour

Worked example

A company needs consistent staff photos on light blue. A photo taken in a cluttered office, profile.jpg (1200 × 1600), becomes profile-background.jpg on #d6e6f5, matching the rest of the team page.

Sample input and result

profile.jpg (1200 × 1600) → profile-background.jpg on light blue (#d6e6f5)

Limitations

  • Single solid colour; gradients are in the profile picture maker.
  • Hair against similar colours can look rough.
  • Speed depends on your device.

Last updated:

Frequently asked questions

Can I use it for passport photos?

Check your government’s rules first; many require unedited photos.

Which colour should I use for video keying?

Use the green preset (#00b140) or a bright blue, whichever contrasts with the subject.

Does it work on products?

Yes, choose sharp edges for hard-edged items.

Troubleshooting

A coloured fringe appears around hair.

Choose a background colour closer to the original.

Part of the subject was removed.

Improve lighting and contrast in the original photo.

The custom colour is ignored.

Select “custom” in the preset list.

Privacy & Free to use

Are my inputs stored?

Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.

Is this tool free?

Yes. No signup or payment is required.

Processed in your browser

Useful next steps