Palette Swapper

10-color target palette & step-by-step remapping pipeline

1

Source Image

No image loaded
Drop an image here, or click to browse PNG, JPG, GIF, WebP supported
Uploaded Preview
2

Quantize Image (≤10 Colors)

Waiting for source image

Reduces images with more than 10 unique colors down to 10 representative colors using weighted Median Cut clustering. Images with ≤10 colors pass through unchanged.

Quantized Output
3

Swap into Target Palette

Waiting for quantized image

Maps each quantized color 1-to-1 to the closest available color in the 10-color palette using squared Euclidean distance.

Swapped Output
4

Reroll Palette Mapping

Waiting for swapped image

Shuffles the palette assignment on the quantized image without re-running quantization. When locking #F1EEEE, any pixel that mapped to #F1EEEE in the swapped photo stays #F1EEEE.

Rerolled Output