Unity Palette & Sprite Tool
Upload game art and extract a color palette with Unity-ready exports, plus a 9-slice preview — all in the browser, nothing uploaded. The game-dev crossover tool.
Proposed stack
- Next.js
- TypeScript
- Tailwind CSS
- Canvas
Goal
Give game devs a quick way to pull palettes from art and get Unity-ready color data.
Overview
Upload a sprite or piece of art and the tool extracts a dominant color palette (adjustable count) via canvas-based color quantization.
Each swatch shows HEX + RGB with copy buttons, and the palette exports in Unity-friendly formats (JSON, hex list, and a swatch snippet).
A 9-slice preview lets you set border insets and see how the sprite stretches. Everything runs in the browser — nothing is uploaded.
Architecture
Upload Art → Canvas Quantize → Palette & Swatches → Unity Export
Key features
- Upload art and extract a color palette (adjustable count).
- HEX + RGB swatches with copy buttons.
- Unity-ready palette exports (JSON / hex / snippet).
- 9-slice preview with adjustable insets.
- Basic image info (dimensions, alpha).
- 100% client-side — nothing uploaded.
Technical challenges
- Quantizing colors into a clean, representative palette.
- Producing Unity-friendly export formats that are actually useful in-engine.
- Keeping it all client-side with canvas for privacy and speed.
How it's built
- 1Next.js + TypeScript + Tailwind with canvas-based color extraction.
- 2Palette export in multiple formats plus a 9-slice preview.
- 3Fully in-browser; verified extraction, exports, and preview.
Interested in this work?
Happy to talk through the design, trade-offs, and implementation plan.