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.

TEXT LINK TEXT

Swatchsmith

A browser tool that recolours whole folders of PNG sprites into palette variants.

About Swatchsmith

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.

Screenshots

No screenshots yet.

Comments (0)

X

AD| join Patreon to remove ads!

UNDO