Replace Specific Colors in Images

Pick a source hue inside any PNG/JPG/WebP and shift it smoothly to a target Hex/OKLCH color while preserving lighting texture.

0 bytes sent

100% Client-Side — Verify 0 bytes sent in Network tab

  • 100% browser-local
  • Zero server transfers
  • CSS Color 4 precision
or drop a file here · Ctrl V to paste · or drop PNG / JPG / WebP / SVG locally — never sent to a server

Instant Before & After Specimen

Perceptual OKLAB Chroma Swap + Compare Slider
Input Samplecolor-target-grid.png
Source #2563EB -> Target #10B981 (Tolerance 24, Feather 12)
Expected OutputOUTPUT
Replaced cobalt region in OKLAB space preserving luminance & shadows

How to use Image Color Replacer

Image Color Replacer — cleanly inside your local browser with zero server transfers.

  1. Select screenshot or photoOpen any local PNG, JPG, or WebP file directly inside HTML5 Canvas memory.
  2. Sample, extract, or simulateInspect pixels, tune OKLab cluster count, swap targeted hues, or test CVD vision modes.
  3. Copy, chain, or exportCopy ready CSS/JSON snippets, download binary swatch files, or pipe directly to related Colr tools.

Frequently asked questions

How does it preserve folds, shadows, and highlights on replaced areas?

It interpolates chromaticity (Hue & Chroma / OKLab a,b) softly inside the tolerance feather while retaining source pixel lightness.

Can I click directly on the photo to pick the color to replace?

Yes — click any pixel on the live Canvas to sample the source target and drag Tolerance to refine edges.