Fill or Remove a PNG Background Colour
Two colour-based modes for PNGs with a flat background. Fill replaces transparent pixels with a solid colour you pick — handy before exporting to JPG, or to put a brand-colour matte behind a logo. Remove deletes one chosen colour (chroma-key style) to make it transparent, and works best when the background is a single flat colour. For photos with hair, shadows, or gradients you want an AI cutout tool instead — this is precise colour work, not subject detection. Everything runs in your browser; nothing uploads.
Drop image files here
Multiple files allowed
How to remove a solid background
- Drop the PNG (or JPG).
- Set mode to Remove this colour.
- Click the colour picker, set it to the background colour. (Use Color picker first to grab the exact hex.)
- Start with tolerance 20. Raise to 30–40 if edge halos remain; lower to 10 if foreground starts disappearing.
- Click Process. Output is PNG with the background transparent.
- Optional cleanup: run the result through Auto-trim to crop the new transparent border tight.
Picking the tolerance
- 0 — exact colour match only. Almost always too strict — anti-aliased edges remain.
- 20 (default) — handles typical JPG noise and anti-aliasing.
- 30–40 — for JPG-compressed sources where the "white" background is actually 240–255 mottled.
- 50+ — starts eating into foreground edges that share a colour with the background.
What this tool can & can't do
- Works: logos / icons on flat white or solid colour, screenshots, scanned signatures, line art, old sprite assets with magenta key.
- Doesn't work: photos with shadows / gradients / textured backgrounds, complex compositions. For those use an AI background remover (out of scope here).
Common workflows
- Extract a logo from a screenshot. Remove white at tolerance ~25, then auto-trim.
- Brand-colour PNG before JPG export. Fill mode with your brand hex, then PNG → JPG.
- Sticker / die-cut prep. Remove background, auto-trim, you've got a tight transparent PNG sticker.
- Sprite key-colour cleanup. Old assets shipped with magenta/cyan key — remove and save.
FAQ
Why isn't this like remove.bg or Photoroom?
Those use AI to detect a subject and cut it from any background. This tool is colour-based: it removes one flat colour or fills transparency. That makes it precise and predictable for logos, icons, screenshots, and line art on a solid background — but it can't isolate a person or product from a busy photo. Use an AI cutout tool for that.
Output is always PNG?
Yes — transparency is the whole point. If you need JPG output (no alpha), use Fill mode here, then run the result through PNG → JPG.
My image has a near-white background — what colour should I pick?
Click a pixel in Color picker to get the exact hex, then paste / pick it here. Or just pick pure white (#FFFFFF) and raise tolerance to 40.
The edges look fringed after removal.
Anti-aliased edges blend foreground and background colours, so trace pixels survive at tolerance 20. Try 30–40, accept slight edge erosion, or use a desktop tool with feathered alpha matting for best quality.