replace color in image
Replace color in image online
Replace one color family without uploading the picture to a server. Pick a source pixel from a logo, cartoon, icon, screenshot, or simple background; choose the new HEX color; inspect the live mask; and save a full-resolution PNG. The workflow is deterministic, private, and free to use without an account or watermark.
Tested in modern browsers · August 1, 2026
replace color in image
Choose the right recoloring method
A single pixel rule is excellent for graphic assets, but it is not semantic object recognition. Match the method to the material in the source file.
When a range-based color replacement is appropriate| Image task | Best setting | Expected result | Watch for |
|---|
| replace color in imageFlat logo or icon | Low tolerance, low softness | Crisp fill replacement | Shared brand colors |
|---|
| replace color in imageCartoon clothing or prop | Preserve lightness | New hue with retained shading | Colored outlines |
|---|
| replace color in imageSimple background | Transparency and mask view | Transparent PNG area | Similar foreground pixels |
|---|
| replace color in imagePhotographic object | Narrow range and careful review | Partial tonal recolor | Texture and reflected color |
|---|
replace color in image
Technical basis and measured limits
The editor uses documented browser pixel primitives and states its own implementation limits so the behavior can be reproduced.
- replace color in imageCanvas ImageData exposes four one-byte values per pixel—red, green, blue, and alpha—so each channel in this tool is measured on the 0–255 range.
- replace color in imageThe upload guard accepts supported raster files through 12 MB, and the working canvas limits its longest edge to 2400 pixels for interactive performance.
- replace color in imageThe tolerance control spans 0–100, edge softness spans 0–30, and PNG export retains partial or full alpha created by transparent replacement.
replace color in image
MDN defines the pixel container directly: The ImageData object represents the underlying pixel data of an area of a canvas object.
replace color in image
Primary technical sources