Color Palette Extractor
Want your next sprite to match the colours you already use? Pull every colour out of a picture with how many pixels use it, or the 2 to 64 colours that stand for a painting or a photo.
The palette of any picture, with pixel counts, in your browser.
In your browserNothing to installYour work saved to your accountOpens on any device you sign in on

What Color Palette Extractor does
New art only matches old art when it uses the same colours, and nobody remembers every hex code. Drop a sprite, a sheet, a tileset or a screenshot into the Color Palette Extractor and it lists every colour with how many pixels use it. Pixel art keeps its exact colours, so you get the palette the art was really drawn with, and several pictures give one palette from all of them.
For a painting or a photo with thousands of colours, Reduce finds the 2 to 64 that stand for it best, in the OKLab colour space, and gives the same palette every time. Merge near colours, sort by use, hue or brightness, click a colour to see where the picture uses it, and save .hex, .gpl, JASC .pal, a PNG strip, a JSON with pixel counts and a Godot 4 Gradient.
How it works
- Drop a picture, or several (or try ours, every icon in RPG Item Icons).
- Keep Exact for pixel art, or pick Reduce and the number of colours for a painting or photo.
- Merge near colours, sort the palette, and click colours to see where they are used; lock or remove them.
- Download the .hex, .gpl, .pal, PNG, JSON and Godot gradient in one ZIP.
What you get out
- .hex palette (Lospec, Aseprite)
- .gpl (GIMP, Aseprite, Krita) and JASC .pal
- PNG strip at 1x and swatches at 8x
- JSON with every colour's pixel count
- Godot 4 Gradient (.tres)
Packs to use it with
More tools to fix every sprite
FAQ
Is Color Palette Extractor free?
Color Palette Extractor is part of Gridwright: every tool and every asset pack for $17 a month, and you can start with 3 days for $1. It runs in your browser, with nothing to install.
Can I download Color Palette Extractor?
No. Color Palette Extractor runs inside Gridwright, in your browser, and what you make there is saved to your account, so it is on every device you sign in on. What it exports (your sprites, maps, sounds and engine files) downloads to your computer and stays yours.
What does Color Palette Extractor export?
Color Palette Extractor exports .hex palette (Lospec, Aseprite), .gpl (GIMP, Aseprite, Krita) and JASC .pal, PNG strip at 1x and swatches at 8x, JSON with every colour's pixel count, Godot 4 Gradient (.tres).
Does Color Palette Extractor work with Godot?
Yes. It writes files Godot 4 opens directly.
Can I use what I make in a commercial game?
Yes. What you make with the Gridwright tools goes into free and commercial games on any platform.
Every Gridwright asset pack, made to fit together, and all 31 tools for the fiddly work, with every new release, for $17 a month. Try it in your own game first: 3 days for $1, cancel any time.
Start for $1