How to get a color palette from an image
- Drop the picture onto the page, paste it, or choose the file. PNG, GIF, animated PNG, JPEG and WebP all open. An animation uses its first frame.
- Pick how many colors. The Colours box starts at 16. Type any number from 2 to 64, or step it up and down, and the palette and preview update at once.
- Sort the colors. Brightness runs from dark to light, which suits shading ramps. Hue goes around the color wheel, with the greys first.
- Copy a color. Click a swatch to copy its hex code, such as #3e2f5b.
- Download. Choose a Format and press Download, then load the file into your pixel art editor.
Palette file formats
| Format | File | Use it for |
|---|---|---|
| GIMP palette | .gpl |
Aseprite, GIMP, Krita and Lospec |
| Lospec palette | .hex |
Anything that takes a plain list, one hex code per line |
| PNG strip (1×) | .png |
Any image editor: one pixel per color |
| Adobe swatches | .ase |
Adobe apps |
The file is named after your picture, with -palette added.
Choosing the number of colors
- 8 to 16 colors give a classic game look and are easy to shade by hand.
- 24 to 32 keep more of a photo’s variety and still read as a limited palette.
- Fewer is harder, and often better. Start with 8 and add colors only when something you need is missing.
Pixel art palettes from any picture
A good palette keeps a game or a drawing looking like one piece. Pull one from a photo of a sunset, a painting you like or a screenshot of your own level, then draw with just those colors.
Transparent images and pixel art
Palette from image works on a photo, a painting or art you already drew. On pixel art with few colors it returns the colors that are there. Transparent pixels are left out, so the palette holds only the colors of the picture itself. Flip the preview to Palette to see how your picture looks in just those colors.
Keep going in MakePixel
Press Save & keep editing to open the palette as a PNG strip in the pixel editor and draw with it. Or convert the whole picture into pixel art with the image to pixel art converter. A free account keeps it for you, or close the prompt and carry on without one.