Color Palette ExtractorColor Palette from Image, .hex & .gpl
The Color Palette Extractor lets you extract a color palette from an image: drop a sprite, a sheet, a tileset or a screenshot and it lists every colour in it, with how many pixels use each one and its share of the picture. Pixel art keeps its exact colours, down to the last pixel, so you get the palette the art was really drawn with. Drop several pictures at once for one palette from all of them.
A painting, a photo or busy art has thousands of colours, and Reduce finds the 2 to 64 that stand for it best. It works in OKLab, the colour space that matches how the eye sees difference, and gives the same palette every time for the same picture. Merge near colours that only differ by a shade, leave out the half-clear pixels of soft edges, sort by use, by hue or dark to light, lock the colours you want to keep and remove the ones you don't.
Click a colour to copy its hex and see where it is used in the picture, or click the picture to find a colour in the palette, and show the picture redrawn in the palette's colours. Save the palette as .hex for Lospec and Aseprite, .gpl for GIMP, Aseprite and Krita, JASC .pal, a PNG strip, 8x swatches, a JSON with each colour's pixel count and a Godot 4 Gradient. It runs on your computer and never uploads your picture.
A first session
- 1Drop a picture, or several (or try ours, every icon in RPG Item Icons).
- 2Keep Exact for pixel art, or pick Reduce and the number of colours for a painting or photo.
- 3Merge near colours, sort the palette, and click colours to see where they are used; lock or remove them.
- 4Download the .hex, .gpl, .pal, PNG, JSON and Godot gradient in one ZIP.
- It 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)
- Try the demo, then buy it
- Try the demo on our example, no account needed. Your own files and every download come with the tool, bought once.
- Can I use what I make in a commercial game?
- Yes. What you make with the tools is yours to use in your games, commercial ones too, under the Gridwright licence.
Packs that work with it
More tools
- PixelatorPixel art from any picture
- Normal MapsNormal maps for 2D lighting
- CRT FilterRetro screen looks for screenshots and trailers
- Sprite Sheet CutterSingle frames from a sprite sheet
- Palette SwapperNew colours for any sprite or sheet
- Sprite Sheet MakerOne sprite sheet from many frames
- Pixel Art UpscalerBigger pixel art without blur
- Pixel Art Background RemoverTransparent sprites from a flat background
- Sprite Animation PreviewerYour animation played, checked and lined up
- GIF to Sprite SheetSprite sheets and frames from animated GIFs
- Tileset ExtractorThe tileset of a map picture, and the map to rebuild it
- Seamless Texture MakerSeamless textures from your photos
- Isometric BuilderIsometric maps and scenes
- Tile ModelerLow-poly 3D models and levels from 2D tiles
- Farmer GeneratorFarming RPG characters with every animation
- Hero CreatorSide-view platformer heroes
- Ship BuilderModular pixel spaceships
- Planet GeneratorRotating pixel planets
- Pixel Art Size CalculatorThe right sprite, tile and canvas sizes
- Pixel Palette & Shading Ramp MakerShading ramps and palettes for pixel art
- Godot Pixel-Perfect SetupCrisp, jitter-free pixel art in Godot 4
- Pixel Art EditorPixel art drawn in your browser
- Sound Effect GeneratorGame sound effects, from retro to sci-fi
- Dungeon & Map GeneratorDungeon, cave and overworld maps
- Particle FX BakerLooping pixel-art effects
- Autotile BuilderComplete autotile sets from a small template
- 3D Sprite Rotator4, 8 and 16 direction sprite sheets
- Chiptune ComposerChiptune music and loops for your game
- Pixel Tree & Plant GeneratorPixel-art trees and plants, with wind