pngtoolskit.org
PNG and image utilities, in the browser
Say hi →

Fill or Remove a PNG Background Colour

fill transparency with a colour · remove a flat colour (chroma key) · batch · in-browser

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

    no files
    Ready.

    How to remove a solid background

    1. Drop the PNG (or JPG).
    2. Set mode to Remove this colour.
    3. Click the colour picker, set it to the background colour. (Use Color picker first to grab the exact hex.)
    4. Start with tolerance 20. Raise to 30–40 if edge halos remain; lower to 10 if foreground starts disappearing.
    5. Click Process. Output is PNG with the background transparent.
    6. Optional cleanup: run the result through Auto-trim to crop the new transparent border tight.

    Picking the tolerance

    What this tool can & can't do

    Common workflows

    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.