Create Transparent Image
Turn a flat background color transparent locally by sampling a pixel or entering HEX and choosing how closely pixels must match.
LOCAL PIXEL RULE
Make one color transparent
Choose a color from the image or enter a HEX value, set a tolerance, and turn matching pixels transparent in your browser.
A QUICK WALKTHROUGH
How to use this tool
- Choose one JPEG, PNG, or WebP up to 20 MB and 40 megapixels.
- Sample a pixel or enter a HEX color, then set the RGB distance tolerance.
- Create a PNG, inspect the checkerboard preview, and download it if the color rule produced the result you need.
An explicit color key
This tool compares every decoded pixel with one chosen RGB color using Euclidean RGB distance. A tolerance of 0 clears only an exact decoded match; higher values also clear nearby shades. Existing alpha is preserved for pixels outside the match and cleared for matching pixels.
Why this is not automatic background removal
The browser applies a color rule and does not understand subjects, edges, depth, or scene structure. It can remove the same color inside a subject and can leave shadows, gradients, and anti-aliased fringes. Use a lower tolerance or a more suitable source when those details matter.
Local limits and output
Input is one JPEG, PNG, or WebP up to 20 MB, 10,000 pixels per side, and 40 megapixels. The result is a newly encoded PNG with the same pixel dimensions. Canvas conversion does not preserve source metadata, profiles, animation, or exact compressed bytes. The source never leaves this browser.
GOOD TO KNOW
Common questions
Does this remove a person or object automatically?
No. It clears pixels by their RGB distance from one chosen color. It has no subject detection or AI model.
What does tolerance mean?
Tolerance is the maximum Euclidean distance across red, green, and blue channels. Zero matches only the exact chosen RGB value; larger values include more nearby colors.
Can I sample the background?
Yes. After choosing an image, click its preview to sample a decoded pixel. You can also type a six-digit HEX color.
Will the result keep its dimensions and metadata?
The PNG keeps the input pixel dimensions and alpha output, but canvas encoding does not preserve source metadata, color profiles, animation, or original compressed bytes.