Free tool

Palette from image

Drop in reference art, choose how many colours you want, and get a palette ordered dark to light, ready for Aseprite, GIMP or Lospec. It runs in your browser; your image never leaves it.

Choose an image to begin. It stays on your device.

    How it works

    1. Choose an imageReference art, a screenshot or a sprite. Transparent pixels are ignored, so a sprite's background does not count.
    2. Pick the sizeFrom 2 to 64 colours. An image with that many colours or fewer keeps every one of them, unchanged.
    3. ExportDownload a GIMP .gpl, a plain .hex list, or a PNG strip with one pixel per colour.
    FAQ

    Questions

    Is my image uploaded anywhere?

    No. The palette is extracted entirely in your browser, and nothing is sent to a server.

    How are the colours chosen?

    The same way SpriteDock derives a palette from reference art: colours are clustered in Oklab, a colour space that matches how far apart colours look, with large flat areas counted less so small accents survive. Each cluster is then snapped to a real colour from the image, so no colour is invented.

    Why are the colours in this order?

    They are sorted dark to light, so the palette reads as a ramp and index 0 is the darkest colour.

    Which formats can I export?

    GIMP .gpl (Aseprite opens it too), a .hex file with one colour per line (the Lospec format), and a PNG strip one pixel tall with one pixel per colour.

    Can I use the palette in SpriteDock?

    Yes. Import the .gpl or .hex as a palette in SpriteDock, and its painter will only paint with those colours.

    Paint in the palette you just made.

    SpriteDock's painter draws only with your palette's colours. Sign up free and start with 100 credits, no card.

    Start free with 100 credits