Image Background Color Changer
Replace a simple background color.
About this tool
Choose an image, pick the colour to replace (or use the top-left pixel), pick the new colour and set the tolerance. It works best on flat backgrounds such as logos and screenshots.
How to use
How it works
Every pixel within the tolerance distance (in RGB) of the target colour is replaced. Low tolerance changes only the exact colour; higher values catch gradients and soft edges but can eat into the subject.
Worked example
White logo background
- Input
- Logo on white, new colour #00aa55
- Output
- Logo on green
- Walkthrough
- The white corner pixel is the target.
Limitations
- Not an AI background remover.
- Photos with busy backgrounds will not work well.
- Anti-aliased edges can leave a halo.
Questions
Does it remove photo backgrounds?
What tolerance should I use?
Can I choose a colour?
Is it uploaded?
Features
- Auto or picked colour
- Tolerance control
- PNG output
- Runs in your browser
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
Responsive images - PWA Training
Chrome for Developers
How image weight affects real-device performance.
Watch on YouTubeReduce image size with srcset
Chrome for Developers
Serving the right resolution—the goal of resize/compress tools.
Watch on YouTube
- Image file type and format guide
MDN
JPEG, PNG, WebP, AVIF tradeoffs for convert and compress tools.
- Responsive images
web.dev
srcset and sizes patterns next to resize workflows.