All free tools

Color palette extractor

Sample colors from an image and download JSON or GPL.

These tools run in your browser. Uploaded images stay on this device; no account is needed.

Download formats: JSON · GPL

Start with a preset

Controls

Your images stay in this browser.

PNG, JPEG or WebP, up to 8 MiB and 4 million pixels. Accepted images are scaled down to fit within 512 × 512 pixels.

Set the controls, then generate a preview.

Preview

Set the controls, then generate a preview.

How to use it

The tool groups colors in an uploaded image into a compact palette and counts their use. It does not judge color harmony or invent a style.

  1. Choose an image with the colors you want to reuse.
  2. Set the number of palette colors and inspect the swatches.
  3. Download JSON for your tools or GPL for a palette editor.

Use JSON hex values in your materials or UI, or import the GPL palette into a compatible art editor.

Questions

What does the count mean?
It shows how many sampled pixels belong to each palette color.
Can I use the palette for pixel art?
Yes. Import the GPL file into a compatible editor or read the JSON values in your workflow.