批量替换 PNG 图片中的指定颜色,支持容差匹配相近颜色与点击取色,多图一次处理
点击或拖拽图片到此处
支持多选 PNG / JPG / WebP,点击图片可吸取源色
把图片里的某个颜色整体替换成另一个颜色,容差可调匹配相近色,点击取色,多张 PNG 一次处理,本地零上传。
了解颜色匹配原理、容差用法与常见问题。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.