World’s largest virtual agentic engineering & quality conference
This free tool allows you to remove a chosen color from an image and export a transparent PNG in your browser. This utility is part of the free developer toolkit from TestMu AI (formerly LambdaTest).
JPG, PNG, WebP, GIF. 30 MB, 8192px, 33.5 MP max.
Click preview to pick, or type hex.
Higher values match more shades.
Softens the cutout edge.
Remove color from image is a selective chroma key utility that clears one chosen color to transparency while leaving every other color untouched. Pick a target with the eyedropper or hex field, tune tolerance and feather, then export a transparent PNG at the original pixel dimensions in your browser.
That is different from the Grayscale Image tool, which converts the whole picture to gray tones and keeps it fully opaque. Use this page when you need a transparent PNG cutout of a solid color backdrop, logo plate, or product swatch, not a black and white conversion.
The widget draws your image onto an HTML canvas, reads each pixel through ImageData, and measures RGB distance from your target color. Pixels inside the tolerance threshold have their alpha reduced or cleared. Feather widens a soft band at the edge so the cutout blends instead of leaving a hard fringe. The approach follows the same MDN canvas pixel manipulation pattern used across browser image tools. Output keeps the original width and height. Images larger than 8192px on the longest side or over 33,554,432 total pixels are rejected with a clear error so the browser does not attempt an unsafe canvas size.
All processing happens in your browser. No data is uploaded. You can confirm the same local Canvas workflow on related editors such as Image Inverter and Blur Image.
These steps match the widget above:
The two tools answer different jobs, so they should not compete for the same intent:
Click Sample to load a 640x400 demo with a pure green backdrop (#00FF00), a blue rectangle, and an orange circle. Keep the target at #00FF00, leave tolerance near 35 and feather near 20, then click Remove Color. The green field becomes transparent while the blue and orange shapes remain. If a thin green fringe remains, raise tolerance slightly. If the shapes look chewed at the edge, raise feather a little instead of jumping tolerance too high.
This example shows why the tool is chroma key, not grayscale: the subjects keep their original hues, and only the matched backdrop is written to alpha in the exported PNG.
Add an image by dropping, uploading, or pasting it, then click the preview to sample a color or set the target with the color picker and hex field. Adjust tolerance and feather, click Remove Color, and download the transparent PNG at the original pixel size.
No. Grayscale converts every pixel to a gray tone and keeps the full picture opaque. This tool removes only pixels that match a chosen color and turns those matches transparent, so the rest of the image keeps its original colors and dimensions.
Tolerance sets how close a pixel must be to the target color in RGB distance before it is removed. A low value removes only near-exact matches. A higher value also clears nearby shades of the same color when lighting or compression varies.
Feather softens the edge between removed and kept pixels by fading alpha near the match threshold. Raise feather when hard cutouts look jagged after color removal, or lower it when you want a crisp chroma key edge on a solid studio backdrop.
No. All color processing happens in your browser with the Canvas API and ImageData. Your image never leaves your device, so private screenshots and design assets stay local. Nothing is uploaded to any server for color removal or PNG export.
The tool accepts common image files such as JPG, PNG, WebP, and GIF up to 30 MB, with a maximum of 8192px on the longest side and 33,554,432 total pixels. The output is always a PNG so transparency from the removed color is preserved.
Yes. After you remove the target color, download the PNG, copy it to your clipboard, or open it in a new tab. Matched pixels are written with alpha so the cutout stays transparent at the original width and height of your file.
No. It is a selective chroma key utility that clears one target color and nearby shades within your chosen tolerance setting. It does not detect subjects or invent a cutout for complex photographic backgrounds with mixed scenery, depth, and lighting.
Did you find this page helpful?
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance