Skip to content

Change a photo's background color

Change a photo's background to any color you pick using AI, directly in your browser.

Processed on your device via WebAssembly. Nothing is sent to any server.

or click to select it

Change a photo's background to any color you pick: the AI cuts out the subject and you choose the fill color, directly in your browser.

Computes a transparency mask once, using a segmentation model (U²-Net) that runs in your browser via WebAssembly, then composites the cut-out subject over whichever color you pick on a canvas — which is why changing the color doesn't require re-analyzing the image.

Use cases

  • Matching a profile or ID photo to the background color a form requires.
  • Unifying the background color across a set of product or team photos.
  • Creating variants of the same photo with different brand-colored backgrounds.

How it works

  1. 1

    Upload the photo

    Drag the file in or pick one from your device.

  2. 2

    Pick a color

    Use the color picker to choose the background. The first time it downloads an AI model (~19 MB).

  3. 3

    Try other colors

    Change the color as many times as you like: since the cutout is already computed, each change is instant.

  4. 4

    Download the result

    Get the final photo with the new solid background.

Frequently asked questions

Can I enter an exact color code?

Yes, the color picker accepts any HEX value; you can type it directly if you need a specific shade (e.g., an official form's blue).

Do I need to re-analyze the image for every color?

No. The AI cuts out the subject only once; changing the background color afterward is instant because it reuses that cutout.

What if I want an image background, not a flat color?

This tool composites onto a solid color. For image backgrounds, use "Change image background" instead.

Image