Warning: a modern web browser is required to use this website.
We detected that you may have an out of date or unsupported web browser. This tool, like many others on this site and across the web uses features only available in new web browsers. We reccommend updating your current browser or downloading Firefox or Chrome.
Swatchsmith is a batch palette-swap tool for pixel art. It loads PNG sprites, as single files or whole folders (sub-folders are kept), lists every colour they use, and lets you change colours one by one, lock colours, shift hue, saturation and brightness, or map a selection of colours to a palette by brightness order or nearest colour. Each set of changes is a variant, and every sprite is exported in every variant at once.
For parts of a sprite that share colours, a region can be painted on the sprite or loaded from mask images, so that a colour changes only inside or only outside it.
Palettes can be loaded from .hex (Lospec), .gpl, JASC .pal and paint.net files, or taken from a PNG image. The export is a ZIP with the recoloured PNGs, .hex and .gpl palettes for each variant, a palette lookup texture with Godot 4 and GLSL shaders for runtime palette swaps, and a project file for reusing the changes.
It is a single HTML file that runs offline in a desktop web browser; images are not uploaded anywhere. A free demo (3 sprites, 1 variant) runs in the browser. It is aimed at game developers and pixel artists who need team colours, enemy tiers or time-of-day versions of many sprites.
AD| join Patreon to remove ads!
Popup Message
Choose one of the services below to link to your Lospec Account:
Already have an account? Login now
Thanks for your feedback! If you want to say more, please post a Suggestion or Bug Report!
our next patreon goal: $263 / $500