Change a color in a JPEG.
Change one color in a JPEG, a shirt, a wall, a car, by picking what it is and what it should become, with the shading kept. The edit happens in your browser; nothing is uploaded.
Change a color in a JPEG.
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.
Click the object's color in the photo, choose the new one, and raise the tolerance until the whole object, shadows and highlights included, is covered. Preserve shades keeps its form.
Yes, and it is the classic case. Pick the shirt's main color, pick the new color, keep Preserve shades on so the folds and shadows of the fabric stay.
The color you picked appears elsewhere in the photo too. Lower the tolerance, and use the mask preview to see what will change before you download.
Turn on Preserve shades. The hue changes and the lighting stays, which is what makes a recolored object look real.
Yes, but reflections complicate it. Start with a low tolerance and raise it gradually; Smooth edges helps the reflections blend.
Nothing. They are one format, defined by the Joint Photographic Experts Group in 1992. The three-letter extension dates from Windows systems that allowed no more, and every tool here takes both spellings.
JPEG cannot hold transparency and loses a little detail every time it is saved, so the result is written as a lossless PNG. It is larger than the JPG it came from; run it through the PNG compressor, or convert it back to JPG, once the editing is done.
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 "Change a color in a JPEG" tool is free and opens without a sign-in, an account or an install.
Nothing. The "Change a color in a JPEG" 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.
No, it takes one file at a time. If you drop or choose several, only the first is used; run the tool again for the next one.
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 "Change a color in a JPEG" tool: JPG color replacer, Color correction, Background remover, Photo color changer. Each opens on its own page, free and in the browser.
The "Change a color in a JPEG" 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



