How-to Guide 6 min read

How to Change a Photo Background to White, Blue or Any Colour

Swap a plain photo background for white, blue, red or any colour in your browser. How the sensitivity slider works, best settings and how to fix patchy edges.

change photo background to whitechange background colour of photophoto background changer onlinewhite background photoblue background photo online

The short answer

To change a photo background to white (or blue, red or any colour), upload the photo to the Photo Background Changer, pick the new colour, set the detection sensitivity, and click Change Background. It works best when the original background is plain and evenly lit, such as a wall or a sheet behind you. Download the result as a JPG.

If your background is busy (a room, trees, a street), this tool is the wrong choice. Use Remove Background instead, which separates the person from any background.

How the tool decides what is "background"

Knowing how it works saves a lot of trial and error. The Photo Background Changer does not try to recognise a person. It does something simpler:

  • It reads the colour of the four corner pixels of your photo and averages them. That average is treated as "the background colour".
  • It then checks every pixel in the image. Any pixel whose colour is close enough to that average gets replaced with the new colour you chose.
  • "Close enough" is controlled by the Detection sensitivity slider, from 5% to 60%. The default is 30%.
  • Two things follow from this:

    • The corners must show the background. If your shoulder or hair touches a corner, the averaged colour is wrong and the result will be patchy. Crop the photo first so all four corners are plain background.
    • Matching colours inside the subject change too. The tool replaces similar colours anywhere in the image, not only around the edges. A white shirt against a white-grey wall can turn partly blue when you pick a blue background.

    All processing happens in your browser on a canvas. The photo is not uploaded to a server.

    Step-by-step: white background from a plain wall photo

  • Take or choose a photo where you stand in front of a plain wall, with even light and no strong shadow behind you.
  • Open the Photo Background Changer and click Choose photo. JPG and PNG both work.
  • Check the preview. If any corner shows your hair, clothes or another object, crop the photo first with Crop Image and upload the cropped version.
  • Under New background colour, click White. Other presets are Light grey, Blue, Red, Navy and Green, and the colour box next to them lets you pick any custom colour.
  • Leave sensitivity at 30% for the first try and click Change Background.
  • Compare the Original and Result previews. Adjust the slider and click the button again until the background is fully replaced but your face and clothes are untouched.
  • Click Download JPG. The file is saved as photo-new-background.jpg at the same pixel size as your original.
  • Choosing the right sensitivity

    The slider sets how different a pixel can be from the background colour and still be replaced. Here is what to try based on what you see:

    What you see in the resultWhat it meansWhat to do
    Patches of the old wall remain, especially in shadowsSensitivity is too low for the uneven lightingRaise it in steps of 5
    Parts of hair, skin or clothing changed colourSensitivity is too high, or your clothes are close to the wall colourLower it in steps of 5
    Halo of old colour around the outlineEdge pixels are a blend of you and the wallRaise slightly, or accept a small halo
    Whole result looks wrongA corner did not show the backgroundCrop so all four corners are plain wall

    A useful habit: change one setting at a time and click Change Background after each change. The tool always starts again from your original photo, so you never lose quality by re-running it.

    Getting a good source photo

    The tool can only be as good as the photo you give it. These make the biggest difference:

    • Plain, single-colour background. A white or light grey wall is ideal. Patterned curtains, posters and door frames will not be detected as one colour.
    • Even light. Face a window or a lamp so the wall behind you is evenly lit. A strong shadow on the wall is a different colour from the lit wall and may survive.
    • Contrast between you and the wall. Wear clothes that differ clearly from the wall colour. A white shirt on a white wall is the hardest case.
    • Some distance from the wall. Standing a step or two away reduces your shadow on the wall.
    • Background in all four corners. Frame the shot with space around your head and shoulders.

    Common uses and what to check

    People typically change a photo background for:

    • Job applications, college forms and online profiles that ask for a plain or white background.
    • ID-style photos where a form specifies a white, off-white or light blue background.
    • Product photos shot against a sheet, where you want a clean white or a brand colour.

    For any official document, check the exact rules on the form or official website you are applying through. Most specify not just the background colour but also the photo size, head size and file size. This tool changes only the background colour. To prepare an official-format photo, the Passport & Visa Photo Maker handles sizing, and Compress Image to Exact KB helps when a portal has a maximum file size.

    Common mistakes

    • Using a photo taken in a room. Furniture and walls in different colours cannot be detected from four corners. Use Remove Background for these photos.
    • Turning sensitivity to the maximum. At 60%, many skin tones and light clothes fall within range of a light wall and get replaced. Go only as high as you need.
    • Expecting a transparent background. The download is a JPG, which has no transparency. If you need a transparent PNG cut-out, use Remove Background.
    • Not checking the full-size image. The previews are small. Open the downloaded file and zoom in on hair and shoulders before sending it anywhere.

    Troubleshooting

    The result looks the same as the original. You probably clicked a preset but not Change Background. The colour only applies when you click the button. Also check that sensitivity is not at the minimum.

    My face got a coloured tint. Your skin tone is close to the wall colour. Lower the sensitivity, or retake the photo against a wall that contrasts more with your skin and clothes.

    The edges look jagged. The tool replaces pixels one by one with no edge smoothing. For hair-heavy portraits where clean edges matter, Remove Background gives smoother results.

    The file is too large for an upload form. The JPG is saved at high quality and full resolution. Resize it with Resize Image or compress it to a target size before uploading.

    Frequently asked questions

    How do I change my photo background to white online?

    Upload the photo to the Photo Background Changer, choose White, keep sensitivity at 30% for the first try and click Change Background. Raise or lower the sensitivity until the old wall is gone and your face and clothes are untouched, then download the JPG.

    Why did part of my shirt change colour?

    The tool replaces every pixel close in colour to the background, anywhere in the image. If your shirt is similar to the wall, lower the sensitivity or retake the photo in clothes that contrast with the wall.

    Does it work on photos with a busy background?

    No. It detects the background from the four corner pixels, so it needs a plain, single-colour background. For rooms, outdoor scenes or patterned backgrounds, use Remove Background instead.

    Is my photo uploaded to a server?

    No. The colour replacement runs on a canvas in your browser and the result is created on your device.

    Can I get a transparent background?

    Not with this tool. It downloads a JPG with a solid colour. For a transparent PNG cut-out, use the Remove Background tool.

    Try this tool on Lazyblink

    Put this guide into practice with our free online tool — no signup required.

    Open tool