Color selection vs. object selection
There are two ways to tell a tool what to change. Object selection means "recolor this shirt" — the tool finds the region by shape. Color selection means "find every pixel near #2B6CB0 and replace it" — the tool finds the region by hue, regardless of what object it belongs to. When your goal is to swap one exact color wherever it appears, color selection is the faster path.
Recolorify builds a LAB-space color index of every image on upload, so it already knows which clusters of pixels share a color. Clicking a color picks its cluster; setting a tolerance widens or narrows how many neighboring shades come along. That is what lets you replace "this blue" without also catching the darker navy next to it.
Why a flat fill ruins the result
The naive way to replace a color is to paint every matching pixel the same new RGB value. On a flat logo that is fine. On a photograph it is a disaster: shadows, highlights, and gradients all collapse to one flat patch, and the object looks like a sticker.
The fix is to work in LAB color space, which separates lightness (the L channel — all your shadows, folds, and reflections) from the color itself (the A and B channels). Replace only the color channels and the original lightness curve survives, so a red fabric becomes a green fabric that still has every wrinkle and shadow it started with. According to color-science references, edits made in a perceptually-uniform space like LAB or OKLCH preserve detail that naive RGB swaps destroy.
Replace a color in three steps
- Upload your PNG or JPG. Recolorify indexes the image's colors automatically while you wait.
- Click the color you want to replace — or pick it from the palette. Adjust the tolerance slider if the selection grabs too much or too little.
- Enter the target hex and choose a mode: Shading mode for photos (keeps texture), Replace mode for flat graphics (pixel-exact hex). The preview updates instantly; export a full-resolution PNG when it looks right.
When to use tolerance and modes
- Tight tolerance: use it when two similar colors sit next to each other and you only want one of them changed.
- Wide tolerance: use it for a single color that varies across a gradient or under uneven lighting.
- Replace mode: best for solid brand colors, icons, and flat illustrations where you need the exact hex.
- Shading mode: best for product photos, fabric, and anything with real-world lighting you want to keep.
