Skip to content
MakePixel

Color palette from image

Get a color palette from an image by dropping a photo, painting or screenshot here. You get a pixel art palette made of the picture's own colors, 16 to start. Change how many you want, sort by brightness or hue, copy any hex code and download a palette file for Aseprite, GIMP, Krita or Lospec.

  • Free, no limits
  • No sign-up
  • Files stay on your device

Drop a picture

PNG, GIF, APNG, JPEG or WebP

How to get a color palette from an image

  1. 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.
  2. 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.
  3. Sort the colors. Brightness runs from dark to light, which suits shading ramps. Hue goes around the color wheel, with the greys first.
  4. Copy a color. Click a swatch to copy its hex code, such as #3e2f5b.
  5. 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.

Questions

Before you ask.

How do I get a color palette from an image?

Drop the image on this page. A palette of 16 colors taken from it appears straight away. Change the number of colors if you want more or fewer, then click a swatch to copy its hex code or download the whole palette as a file.

How many colors can I pick?

From 2 to 64, starting at 16, a common size for a pixel art palette. A picture with fewer colors than you ask for, such as pixel art that is already limited, gives you exactly the colors it has.

Are the colors really in my picture?

Yes. Each swatch is a color taken from your picture, so you can find it again in the original. Small accent colors get a swatch too, even when most of the picture is one color.

What is a GPL palette and which file should I download?

A .gpl file is a GIMP palette, and Aseprite, GIMP, Krita and Lospec read it, so it is the one to pick if you are unsure. Use .hex for a plain list of hex codes, PNG strip for a one-pixel-per-color image, or .ase for Adobe apps.

Can I see my picture redrawn with the palette?

Yes. The preview shows your picture using only the palette's colors, and you can switch back to Original to compare. To turn a whole picture into real pixel art at a small size, use the image to pixel art converter.

Is my picture uploaded anywhere?

No. The colors are found in your browser and the palette file you download is made there too.

Your game's art deserves one home.

Open a canvas and draw the first sprite. The rest of the game can move in when it's ready.

Start drawing