How the key colour is picked
Drop an image, click to browse, or press Load a sample. Files your browser calls an image pass up to 15 MB; larger ones are refused with both sizes named. On arrival the pixel at offset 2, 2 becomes the Background colour, overridable via the swatch, a hex value, or a click on the left image.
What counts as a match
Tolerance runs 0 to 150 and starts at 40. In default RGB mode, distance is the square root of the squared red, green and blue differences: an exact match reads 0, opposite corners of the colour cube near 442. HSL mode weighs hue, saturation and lightness at 0.4, 1.2 and 1.2 instead. Pixels at or under tolerance go fully transparent; Edge softening, 0 to 60 and off by default, fades the band above tolerance instead of cutting it. Re-keying runs 120 ms after the last input.
A worked example
The shipped sample is a face on flat green, measuring 600 by 400, so the first click sets the key to #00b140. Its white circle lies 328 colour units away, well outside a tolerance of 40, while plain background pixels sit at 0: Removed reads 84% and Output reads 600 by 400. With softening at 60, a pixel at distance 70 is 30 units into the fade band and keeps an alpha of 128.
Where it stops
- One flat colour is the target, so stripping sky takes every pale blue in the frame with it.
- A real cut-out needs a trained segmentation model, which this page does not attempt.
- Removed and Output describe the fitted preview rather than the exported file.
- The File size card keeps its dash, because nothing measures the encoded PNG.
- No mask editing exists, so a stray pixel is fixed only by moving tolerance.
Questions people ask
Is the preview what I download?
No. Canvases fit inside 1200 by 1200 pixels and never upscale, so a 4000 by 3000 photo previews at 1200 by 900, while both buttons re-key at natural size and save transparent.png, or flattened.png with the key colour behind it.
Why is there still a fringe at the edge?
Anti-aliased pixels blend key and subject, and those just above tolerance stay opaque; softening fades them.
Is my photo uploaded?
No. Decoding, keying and encoding run on canvases in your browser. Sample the backdrop with the color picker and shrink the export with the image compressor.