SpriteWright

July 31, 2026 · View on GitHub

Free browser tools for pixel artists, and the marketing site for a small range of paid Aseprite extensions.

Live: https://pixelpixi.github.io/spritewright/

Tools

  • Palette Extractor — pull the exact palette out of a sprite, tileset or photo; export .gpl (Aseprite/GIMP), Lospec .hex, CSS variables, JSON, or a PNG swatch strip. Runs entirely client-side: no upload, no account, no server.

Layout

Static HTML/CSS/JS, no build step — the whole thing is served straight from this repo by GitHub Pages.

index.html                   landing page
palette-extractor/           the tool (shell: files, canvas, DOM, events)
assets/palette-core.js       the pure colour maths, testable under node
assets/style.css             shared styles
test/palette-core.test.js    headless tests

The core/shell split mirrors the Aseprite extension starter kit: all colour logic is pure functions over plain data, so it runs and is tested without a DOM.

Tests

node test/palette-core.test.js

No framework and no dependencies, so it keeps working on a bare machine.

Licence

MIT — see LICENSE.