Skip to content
Jellykit

Remove Solid Background

Make a flat background colour transparent, from the edges inwards or everywhere, and save the result as a PNG.

  • Runs on your device
  • Works in the background
Loading tool

About Remove Solid Background

For logos, product shots on a plain backdrop, screenshots and scanned drawings: anything that sits on one even colour. The tool finds that colour from the border of the picture, or you choose it, and turns it transparent, with a tolerance for slight variation and an optional soft edge.

By default only background connected to the edges is removed, so the same colour inside the subject (white eyes, the counter of a letter O) stays. Switch to Everywhere to clear every matching pixel. This is colour matching, not subject detection: a busy or gradient background in a photo needs a different tool.

How it works

  1. Each image is decoded by your browser the right way up; for an animated file only the first frame is used.
  2. The background colour is the most common colour along the border, unless you choose one. Every pixel is compared with it by its distance in red, green and blue.
  3. Connected to the edges: a fill spreads inwards from the border through matching pixels and stops at anything that differs by more than the tolerance. Everywhere: every matching pixel is cleared.
  4. Pixels just beyond the tolerance become partly transparent when Soft edge is above zero. The work runs in a background thread, and the result is saved as PNG.

Questions

Why did some of the background stay?

Either it differs from the background colour by more than the tolerance (shadows and gradients often do), or, in edge mode, it is enclosed by the subject so the fill cannot reach it. Raise the tolerance a little, or switch to Everywhere.

Why did part of my subject disappear?

Parts of the subject close in colour to the background, and touching it, are removed with it. Lower the tolerance, or stay in edge mode so that enclosed areas are kept.

Can it cut a person out of a photo?

Only if they stand in front of an even, plain colour. It matches colours; it does not recognise people or objects. For a green or blue screen use the chroma key tool, which handles uneven lighting on the screen better.

How large can the images be?

Files up to 100 MB each and pictures up to 40 megapixels, or about 16 megapixels on iPhones and iPads, whose browsers cannot draw larger canvases. Everything stays on your device.

Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.