VOIDLESS.DEVLogin

Pixel Art Palette Extractor

Free palette extractor for pixel art: every exact colour of a sprite with pixel counts, sorted by hue or use. Export GPL for Aseprite, Lospec HEX, ASE or PNG.

Drop a sprite, tileset, screenshot or any image

Want new sprites that fit this palette? Generate pixel art in your game's style.AI pixel art generator

How to use the Palette Extractor

  1. Drop a sprite, tileset, screenshot or any image.
  2. Set the most colours: up to that number you get every exact colour; over it the image is reduced to that many.
  3. Sort by hue, lightness or most used, and click a swatch to copy its hex.
  4. Name the palette and download .gpl, .hex, .ase, JSON or a PNG.

Using it in your game

In Aseprite, open the .gpl from the palette menu (Load Palette) or drop it in the palettes folder; GIMP and Krita import it too. The .hex file is the format Lospec shares, the .ase opens in Photoshop, Illustrator and Affinity, and the 1× PNG is a one-pixel-per-colour strip that palette-swap shaders can read as a lookup texture.

Frequently asked questions

What does it extract?

Up to the number of colours you set, every exact colour in the image with how many pixels use it, so a sprite's real palette comes out unchanged, with no near-duplicates merged or missed. Transparent pixels are not counted.

What if the image has thousands of colours?

Paintings, photos and AI renders are reduced to your cap in OKLab, a colour space where equal distances look equally different: median cut, refined by k-means. By default each colour is then snapped to the nearest one the image really has, and each swatch counts the pixels closest to it.

Which formats can I download?

GIMP .gpl (Aseprite, GIMP, Krita and Pyxel Edit open it), .hex with one colour per line as on Lospec, Adobe Swatch Exchange .ase for Photoshop, Illustrator and Affinity, a 1× PNG strip, a PNG of big swatches, and JSON with each colour's hex, RGB and pixel count.

How are the colours sorted?

By hue (greys first, then each hue family from dark to light, so shading ramps sit together), by lightness, or by how many pixels use each colour.

Is anything uploaded?

No. Everything runs in your browser, with no account and no limit. The free extract_palette tool on the Voidless MCP server returns the same palette and files from Claude Code or Cursor.

Create game assets with AI

Generate original art, audio, and 3D models in seconds.

Something not working right? Report a bug