WorkspaceReplace Background Color

Replace Background Color

Replace matching color pixels within a chosen tolerance.

  • Processed on your device
  • Free, no sign-up
  • Instant results

or drop files here · paste with Ctrl/⌘ + V

JPG, PNG, WebP, AVIF, HEIC, GIF, BMP, TIFF, SVG and ICO · up to 32 MB each

How to use Replace Background Color

  1. Select the source image on your device.
  2. Choose the source color, replacement color and tolerance.
  3. Apply the operation and check the result before downloading.

How it works

The tool tests each pixel against the source RGB color. Matching pixels change throughout the image, including disconnected regions.

Example

Replace the solid blue background of a flat illustration with another brand color.

Common uses

  • Quick fixes without installing a photo editor
  • Prepare images for presentations, documents and listings
  • Brand or caption images before publishing
  • Batch the same edit across many files in PixelMetric Studio

Private by design

Your files are read and processed by your own browser using Web Workers and the Canvas API. They are not uploaded to a server, and nothing is stored after you close the page. See the privacy policy for details about the website itself.

Frequently asked questions

Will the tool isolate a photographic subject?

It uses color similarity. Matching colors on the subject can change too, so inspect them and reduce tolerance if necessary.

Can I keep the source file?

The result is a separate download. Keep the original for a different edit or export.

All editing tools

Learn more

Resource center