Palette Extractor

Extract a compact set of swatches from a sprite or reference. Choose a maximum color count, copy an individual HEX value, or download the whole set as GPL, HEX, or JASC-PAL. Transparent pixels are ignored and your source image stays in the browser.

Free to use. No account, credits, or image upload.

Reference image
Preview appears here
Extracted colors
Swatches appear here
Open in Celgrid Studio

Studio opens a blank canvas with the extracted swatches.

How to use Palette Extractor

  1. Choose a reference with the colors you want

    Use a finished icon, a character sheet, or a cropped reference with the relevant materials in frame. Extracting from a large landscape can favor sky and ground colors simply because they occupy more of the image. Crop to the object if you want its smaller accents.

  2. Choose the size of your working palette

    A small palette is easier to repeat across related sprites. If the reference already fits, the extractor retains its actual colors. For a noisier input or a lower limit, similar colors are grouped into representative swatches. It shows the result from darker to lighter tones.

  3. Take the swatches into your editor

    GPL includes RGB triplets and swatch names for Aseprite or GIMP. HEX writes one six-digit value per line for Lospec. JASC-PAL stores a version and color count above its RGB rows. Open the palette in Celgrid Studio to apply the exact swatches to a fresh canvas.

Related workflows

Direct answers

Palette Extractor questions

Can an extracted palette contain fewer colors than requested?

Yes. The setting is a maximum. If a transparent sprite uses six visible colors, choosing 16 gives you six swatches. An image with no visible pixels has no palette to export.

Do the exported colors include transparency?

The three palette exports contain RGB swatches. Studio reserves transparency separately when it opens your palette on a blank canvas.