Change the color of an image, from a logo fill to a shaded jacket
For a logo, icon or evenly painted surface, use the free browser Color Replacer above. Click a color, choose its replacement and download a $0 PNG. For a jacket in front of a wall of the same color, use Recolor one object with AI. That workflow lets you specify which item should change.
The quick test is the mask preview. If it covers just the pixels you want, finish in the browser. If the mask lights up skin, furniture or the background while missing deep folds, switch to the object-based edit with your original photo.
Use the instant OKLab Color Replacer on a logo or graphic
- Upload your PNG and click or tap inside a solid area to sample the source color. Avoid the partly transparent edge of a logo. Set the target with a swatch or type its hex value. For example, choose forest green for the blue leaf on a café badge.
- Turn on Highlight affected mask. Tolerance controls how far a pixel's color can differ from the sample and still change. Start low, then raise it just until the pale edges of the leaf are included. Look across the whole graphic for stray matches.
- Adjust Edge softness to blend colors near the matching threshold. Preserve lighting and folds keeps differences in lightness around the sampled tone, useful on shaded graphics and clean painted surfaces. For a single flat ink, inspect the result with that option off.
- Turn off the mask preview, hold to compare with the original, then export the PNG for $0. The browser processes the image locally and preserves transparency. Inspect thin lettering once on a light background and once on a dark one.
OKLab measures how close colors look, including their lightness. It can find the same blue on several disconnected shapes. A blue symbol, a blue subtitle and the blue edge of a chair can all fall within one selection.
What a color selection catches in practice
| Source and light | Controls | Visible or measured result | Where to inspect |
|---|---|---|---|
| Flat two-color logo with a transparent background | Sample the middle of one fill. Low Tolerance and slight Edge Softness. | A single source color can take a specific target hex. Empty pixels stay transparent. | Anti-aliased edges can retain an old-color fringe. Check the curves in small letters. |
| Blue-gray jacket sample on a wooden chair | Source #5A6E80, target #365741, Tolerance 12, Edge Softness 4. Preserve lighting and folds on. | The sampled pocket turned #365741. A darker sleeve pixel became #32533D, preserving a visible difference in shade. | Part of the chair back also changed and the darkest folds stayed blue-gray. Check the mask before widening it. |
| Portrait with a navy jacket beside a navy wall | Use AI single-object recolor. Mark the jacket and name the wall and hands to preserve. | The instruction distinguishes the garment from its surroundings even when colors overlap. | Check skin at the cuff, buttons and the wall. AI color is an interpretation under the scene's light. |
| Lacquered furniture beside a bright window | Mark just the cabinet. Name the finish, brass pulls and reflections. | A local object edit can keep a pale reflection over the new base color. | A white reflection and a painted stripe can look alike. Compare them with the source. |
Clothing color change: turn one jacket forest green

Use your own photo and choose Recolor one object with AI. It carries the original image and the target color into the editor. Name the object precisely, for example “the navy jacket worn by the person on the left.” Select or brush the garment, stopping at the skin line and the chair behind it.
Change only the navy jacket on the left to forest green. Keep the collar shadow and the light ridge of each fold. Keep the hands, buttons, stitched label, chair and navy wall in their original colors.A good green sleeve still has a dark underside, a lighter ridge and a clean edge next to the hand. For a car, mark the painted body panels and name the glass, tires and chrome separately. For a cabinet, specify the drawer fronts and keep the wall and handles in the original finish.
Check the edge, the lighting and the color match
- Compare the same patch in shadow and in light. A hex value describes one color sample. Fabric and lacquer should show several values across a single surface.
- Inspect the gaps between buttons, under a chair arm and around hair or fingers. If a background changes in the browser preview, tighten Tolerance or choose the AI object path.
- For brand artwork, sample the center of the exported flat fill to check a required hex. For a fabric or paint purchase, compare a physical swatch under the intended light before treating a photographic edit as a match.
Local PNG export uses no credits. The AI single-object recolor editor uses the signup trial for a watermarked 720 px preview. Decide on HD after inspecting seams, hardware and nearby skin.




