JPG color swap.
Swap one color in a JPG for another in seconds: the color to drop, the color to use, a tolerance for its shades. The swap happens in your browser; nothing is uploaded.
JPG color swap.
Need the UI around it? With Pro, your AI agent builds the form, the result card and the rest of the page from a prompt.
Get ProHow it works
3 steps, no account. It runs in your browser and nothing is uploaded.
Drop a photo and pick a color
Drop a JPG onto the pane; click the photo to pick the color to change, or type a hex code.
Choose the new color
Set the replacement, raise the tolerance until the whole object is covered, and keep Preserve shades on for photos.
Check and download
Check the mask preview, smooth the edges if the boundary is harsh, and download the PNG.
Related tools
More JPG tools. Every one free, in the browser.
Pricing
Build it with Pro
The tool is free. Pro adds 6,000+ blocks, premium templates and the MCP server, so your AI editor builds the product around it.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
Questions and answers
Before you trust the result: what to know about the format, the limits, your data and the tools next to it.
Drop the JPG, click the color to swap or type its hex code, pick the new color, download. It takes seconds.
Yes. Red as the from color, blue as the to color, with Preserve shades on so the reds keep their lighting instead of all becoming one flat blue.
A hue shift moves every color at once. A swap targets one color and leaves the rest untouched.
Raise the tolerance. At 20 percent a swap of red also catches light red, dark red and orange-reds.
Turn on Smooth edges for a gradual transition where the colors meet, which photos need since their colors blend at every boundary.
Yes, with Preserve shades on: the lightness gradient stays and only the hue changes, so the transition remains smooth.
One image at a time. Each swap runs on your device in a moment, so a series goes quickly: drop, swap, download, next.
Click the color in the photo you want gone, or type its hex code, then choose the color that should take its place. Tolerance sets how far a pixel may stray from the first color and still be replaced; photos need more of it than flat graphics, usually 15 to 30 percent.
No. The file is decoded, drawn and re-encoded by your browser's canvas, and the page makes no request with it. You can load the page, go offline and keep working; nothing is stored either.
No. The "JPG color swap" tool is free and opens without a sign-in, an account or an install.
Nothing. The "JPG color swap" tool holds your input in the page's memory, so closing or reloading the tab clears it, and it saves nothing in this browser.
Up to 100 MB per file, the limit the tool states under its drop area. A larger file is refused with a plain message instead of being decoded.
The edit is written as a PNG because PNG stores every pixel exactly, with a full alpha channel, so the result can be edited again without a second round of loss.
No. The browser decodes the image and the tool writes a new file from its pixels, so camera EXIF, GPS position and text chunks in the original are not copied into the result. Keep the original file if you need them.
No. The result has the same width and height in pixels as the source.
Closest to the "JPG color swap" tool: JPG color replacer, Swap colors in an image, Color correction, Replace a color in a JPG. Each opens on its own page, free and in the browser.
The "JPG color swap" tool is one of 44 in its group. The group's page, /tools/jpg, lists them all.
The tool is free. Its interface is built from shadcn.io's own components (Button, Input, Slider and the rest of the registry under /ui), which come in React, Vue, Svelte and Solid. Pro adds the blocks and templates for the product around it.
4.9 out of 5 from 150+ developers
Build the product around it
Every block, template and icon, installed by your AI agent in your theme. The tools stay free.
Get Pro



