Changing a background color is always two steps: separate the subject from the old background, then fill the emptied area with the new color. Most people focus on step one; step two is what makes the result look real or fake.

Step 1: Separate Cleanly

Use color-based removal when the original backdrop is uniform. Watch for the usual traps: hair strands, glasses frames, semi-transparent fabric, and the shadow the subject casts on the backdrop. Zoom to 100% and check the edge all the way around before moving on — a fringe that's invisible at fit-to-screen will be obvious on a colored fill.

Step 2: Fill Convincingly

A flat block of color is correct for ID photos and product cutouts, but for anything else it usually looks pasted. Three refinements:

  • Match the light direction. If the subject is lit from the left, a slightly brighter left side of the background sells the illusion. Even a very subtle radial gradient behind the head reads as "real backdrop" rather than "color layer".
  • Kill color fringing. Edge pixels retain a hint of the old background. Green fringe on a blue background is instantly noticeable. Shrinking the selection by one pixel, or slightly desaturating the edge, removes it.
  • Keep or rebuild a contact shadow. A person or product with no shadow at all floats. A soft shadow directly beneath the subject anchors it.

Standard ID Photo Colors

Official portrait backgrounds are specified by color, and the common conventions are:

  • White — passports and many visa applications; the most widely accepted.
  • Light blue — the traditional choice for Chinese ID and staff photos; a mid-tone blue rather than a saturated one.
  • Red — used for certain Chinese certificate and marriage-registration photos.
  • Light grey — common for professional headshots and some European documents.

Always follow the exact requirement of the authority you're submitting to; when they specify a color, they usually also specify dimensions and file size, and all three are validated together.

Which Format to Export

  • Submitting to a form → JPG, since that's what most portals accept.
  • Reusing the cutout on multiple backgrounds later → keep a PNG/WebP with transparency as your master, then export flattened copies as needed.

Saving the transparent master is the habit worth building: the separation is the expensive part, and with it kept you can produce a white version, a blue version and a brand-colored version in seconds without redoing the cutout.