Back to blog
Image Processing ID Photos Everyday Productivity

How to Change an ID Photo Background: White, Blue or Red & Standard Sizes

Published: Updated: Reading time: about 7 min
Share:

Exam application wants blue, passport wants white, a certificate wants red — and suddenly you're back at the photo studio? You don't need to be. As long as the original photo has an even background and decent lighting, you can cut it out and change the background color in your browser in a few minutes. This article covers ID photo size standards, background color references, and a repeatable workflow.

Common ID Photo Size Standards

SpecPhysical sizeCommon pixels (300 dpi)Typical use
1 inch25 × 35 mm295 × 413 pxResumes, student records, most application forms
2 inch35 × 49 mm413 × 579 pxCertain certificates and qualification exams
Small 2 inch35 × 45 mm413 × 531 pxPassports and some visas
Large 1 inch33 × 48 mm390 × 567 pxSome exam registrations

Note: pixel/resolution requirements vary by agency — always follow the exact spec in your application system, and adjust the output size in the tool when needed.

White, Blue and Red Background References

There's no single universal standard for background color, but these values are the commonly used references and look "right" to the eye:

  • White: #FFFFFF or #FFFEFE — resumes, student records, social security.
  • Blue: around #438EDB (e.g. #4088D8) — diplomas, work badges, application photos.
  • Red: around #D9001B (e.g. #E60000) — marriage certificates, some certificates.

Note: passports, visas and other government documents have strict requirements — prefer a professional studio there. Online background changes are great for applications, resumes, certificates and everyday use.

How to Change the Background Online

  1. Prepare the photo: Front-facing, ears visible, even lighting and a relatively clean background give the best result.
  2. Upload it: Open the ID photo background changer and upload the photo. The AI detects the person locally.
  3. Pick a color: Switch between white, blue and red, or choose any custom color.
  4. Set the size: Choose a standard size like 1 inch or 2 inch; the tool recomposes the crop for you.
  5. Export: Download a JPG/PNG and submit it wherever your application requires.

Why Background Swaps Go Wrong — and Fixes

  • Clothing too close to the background color: The model may mistake a collar for background, leaving fuzzy edges — reshoot with more contrast.
  • Uneven lighting: Dark faces or shadowy backgrounds hurt segmentation; favor even, front lighting.
  • Ragged hair edges: Fine flyaway strands are hard to segment — refine with the background remover first, then change color.
  • Rejected for size: Double-check the pixel and file-size requirements in your application system before submitting.

Frequently Asked Questions

Does the photo get uploaded when I change the background?

No. All AI inference for the ID photo tool runs locally in your browser — your photo stays on your device, which matters for identity documents.

How many pixels are a 1-inch and a 2-inch photo?

At 300 dpi, about 295 × 413 px for 1 inch and 413 × 579 px for 2 inch. Always match your application system's stated pixels; the tool supports custom output sizes.

What RGB values are used for blue and red backgrounds?

Common references: blue ≈ #438EDB, red ≈ #D9001B, white = #FFFFFF. Standards vary slightly; a natural-looking color is usually fine.

Can I change the background of a busy photo?

Yes — the AI identifies the subject first. Accuracy drops with very cluttered scenes, multiple people or occlusion; run the background remover first for better results.

References

  1. Canvas API image processing — MDN Web Docs: https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API
  2. ID photo size conventions (follow the issuing agency's spec): https://www.icao.int/publications/pages/publication.aspx?docnum=9303

Related Reading