Batch-replace a specified color in PNG images, with tolerance matching and click-to-pick. Process many at once
Click or drag images here
Multiple PNG / JPG / WebP allowed; click an image to pick the source color
Replace one color in an image with another, with adjustable tolerance for similar shades and click-to-pick. Process multiple PNGs at once. All local, nothing uploaded.
了解颜色匹配原理、容差用法与常见问题。How color matching works, tolerance tips, and answers to common questions.
PNG颜色替换工具把图片中与「源颜色」接近的所有像素替换为「目标颜色」。可指定颜色或点击图片取色,容差控制匹配范围,支持多张图片批量处理并逐张导出 PNG。
This tool replaces every pixel close to a "source color" with a "target color". Pick the color manually or click the image, control the match range with tolerance, process multiple images at once and export each as PNG.
全部在浏览器本地完成,数据不会上传。
Everything runs locally in your browser - nothing is uploaded.
纯色区域容差调小即可精确替换;边缘有渐变时适当加大容差;透明像素不会参与替换,保留原有 alpha 通道。点击图片任意位置可直接吸取源色。
Use a small tolerance for solid areas, raise it for gradients. Transparent pixels are skipped, so the alpha channel is preserved. Click any pixel on the image to pick the source color directly.
不会,透明像素会被跳过,图片的 alpha 通道完整保留。No - transparent pixels are skipped and the alpha channel is fully preserved.
把容差调小,只匹配与源色完全或非常接近的像素。Lower the tolerance so only pixels identical or extremely close to the source color are replaced.
PNG / JPG / WebP 均可上传,导出统一为保留透明通道的 PNG。PNG, JPG and WebP can be uploaded; exports are always PNG with the alpha channel preserved.