Tools38

Object recolor

Replace Image Color.

Click any object in an image to swap its color smoothly while preserving natural lighting and soft edges.

Export palette

Import colors

Paste CSS variables, JSON tokens, a Coolors URL, or comma-separated HEX / RGB / OKLCH values (3–8 colors).

Try:

Saved Palettes

Stored in your browser cache—no account required.

Blog How to replace a specific color in a photo or PNG Read the guide

Swap any object or icon color in an image while preserving natural shading

Click directly on any garment, product surface, background, or icon region in your image to shift matching tones to your target color in perceptual OKLab space—keeping highlights, folds, shadows, and soft anti-aliased edges intact.

Perceptual OKLab tolerance and sigmoid edge feathering with shading preservation.
QUICK VIDEO TUTORIAL How to replace a specific color in a photo or PNG Click any object hue and shift it smoothly in OKLab without losing natural folds or shine. Watch the video

How to replace a specific color in a photo or PNG

Natural recoloring for photos, mockups & icons

E-Commerce & Product

Shading-preserving OKLab shift

Transfers target hue and chroma while retaining original specular highlights and shadow contours.

UI & Graphics

Smooth edge feathering

Eliminates harsh 1-pixel halos along curved and anti-aliased boundaries.

Click to Sample

Direct canvas eyedropper

Click anywhere on the image to re-target the source color in real time.

Key capabilities

Shading-preserving OKLab recolor

Transfers target hue and chroma while retaining natural highlights, shadows, and feathered edges.

Click to target

Click any pixel region on your photo to re-sample the source color interactively.

11×11 pixel magnifier loupe

Zooms into individual image pixels with a crisp crosshair and instant HEX, RGB, and OKLCH readouts.

Clipboard ready

Press Ctrl+V anywhere in the studio to paste a screenshot directly from your clipboard.

Perceptual OKLCH harmonies

Generates Analogous, Complementary, Split, Triadic, Tetradic, and Monochromatic palettes with sRGB gamut clamping.

How OKLCH helps

Rotating hues in OKLCH preserves perceived brightness and prevents neon clipping across light and dark styles.

Synced active palette across tools

Move freely between Generator, Visualizer, Contrast, Tailwind, and Vision without re-entering colors.

How state travels

Your active palette syncs automatically in browser storage across every module, and visiting any tool directly starts from a fresh harmonious palette.

Formats & privacy

Supported inputs
PNG, JPG, JPEG, GIF, TIF, TIFF, WebP, BMP, SVG, or Paste (Ctrl+V)
Outputs & exports
Shading-Preserving Recolored PNG Image

Supports 3 to 8 active palette roles with unlimited local saves and exports—no account required.

All color math, simulations, and exports run locally in your browser while syncing your active palette across tools.

FAQ

Good to know.

A few answers before you get started.

On your device
When should I turn off 'Preserve natural highlights & shadows'?

Keep it enabled for photographs and 3D renders so lighting stays realistic; turn it off for flat 2D logos or UI icons when you want an exact solid HEX fill.

What does Edge feathering control?

It controls the smooth transition width outside your tolerance radius so anti-aliased border pixels blend seamlessly instead of stair-stepping.

How do I avoid jagged halos around edges when swapping a color?

Increase Tolerance until the full object is captured, then raise Feather slightly so boundary pixels transition smoothly without hard cutouts.

Does PNG transparency stay intact on export?

Yes. Alpha channels on transparent PNGs, WebPs, and icons are preserved bit-for-bit in the downloaded PNG.

Language38

EnglishالعربيةFrançaisItalianoDeutschEspañolPortuguêsNederlandsРусскийTürkçe日本語中文हिन्दीBahasa IndonesiaBahasa Melayu한국어Tiếng ViệtไทยPolskiSvenskaУкраїнськаNorskবাংলাΕλληνικάفارسیاردوČeštinaDanskMagyarRomânăSuomiБългарскиFilipinoქართულიSlovenčinaAzərbaycancaעבריתSlovenščina