Image Editing
颜色更换器
替换图像中的任何颜色,重新着色对象,或应用颜色飞溅效果。
Your files stay on your device - processed locally via WebAssembly, never uploaded
Drop image(s) to recolor
JPEG, PNG, WebP, HEIC - single = preview, multiple = batch
Embed this tool on your website
Copy this code to add the 颜色更换器 to your site for free. It runs entirely in your visitors' browsers - no API key, no usage limits.
<iframe src="https://optipix.art/embed/color-changer" width="100%" height="600" style="border:1px solid #e4e4e7;border-radius:8px;" title="颜色更换器 by OptiPix" loading="lazy"></iframe> <p style="font-size:12px">Free tool by <a href="https://optipix.art/color-changer">OptiPix 颜色更换器</a></p>
❤️ Love this tool? Support our team.
No ads, no tracking, no limits. Tips keep 104 tools free for everyone.
Secure payment via Stripe · No account needed
About 颜色更换器
Last updated: May 2026
OptiPix Color Changer 允许您通过单击源颜色来重新着色图像中的特定对象或区域。单击选择工具可拾取任何像素作为源,容差滑块控制像素的相似度以确定是否包含,目标颜色选择器设置替换颜色。替换模式包括色相偏移(默认 - 保留亮度以实现自然的重新着色,例如将红色汽车变为蓝色)、纯色替换(平坦颜色)和色调混合。HSL 面板提供跨 8 种颜色范围(红、橙、黄、绿、青、蓝、紫、品红)的每通道调整,用于进行精细的颜色编辑,例如使天空更蓝而不影响其他任何颜色。颜色飞溅可使除选定颜色外的所有颜色去饱和,以产生戏剧性的单色黑白效果。全图像转换包括反色、灰度、棕褐色、双色调、色调分离和温度偏移。支持前后对比滑块、批量处理和 HEIC 输入。所有操作均在本地通过 HTML Canvas 像素操作完成 - 您的照片永远不会离开您的设备。
How It Works
该工具通过 getImageData 从源图像读取像素,通过在容差范围内计算 HSL 空间中的颜色距离来查找匹配的像素,并将其色相/饱和度/亮度重写为目标颜色。飞溅模式则相反 - 使不匹配的像素去饱和。
Use Cases
- •在产品照片中更改汽车颜色,无需重新拍摄
- •在时尚照片中重新着色衬衫或连衣裙
- •更改肖像照片中的发色
- •使天空更蓝而不影响其他颜色
- •应用颜色飞溅效果以获得戏剧性的照片艺术效果
You Might Also Like
If you find 颜色更换器 useful, check out these related tools: Color Palette Extractor, Photo Filters, and Image Crop. All tools run entirely in your browser with no uploads or signups required.
Explore more: Browse all tools · Step-by-step guides · Tips & tutorials · Compare tools