Tools · Palette and pixels
Palette Swap
Pull the palette out of a sprite, cut it down or snap it to another one, then recolour.
You want to recolour a sprite, reduce its colours, or move it onto a Lospec palette.
This version
Synced 2026-09-27 from commit a5f9748.
- ·New sample image, made from Kenney's public domain art
It counts the sprite's colours, most used first. Keep them all, reduce them to a count (median cut, then k-means in OKLab, weighted by how many pixels use each colour), or snap them to a palette you paste. Lospec .hex, GIMP .gpl and JASC .pal all work.
Then edit the Swap swatches to recolour; they follow the result palette. Alpha is kept and transparent pixels are left alone. Click a pixel to box everywhere its colour is used. Download PNG is the recoloured sprite.