How to Choose a Pixel Art Palette for Your Game
How many colours a pixel art palette needs, how to pick or build one, and how to keep every sprite, tile and UI element in your game consistent.
In this article
In pixel art, the palette is the art direction. When every sprite, tile, effect and UI element is drawn from the same small set of colours, the game looks cohesive even when different people drew different parts. When every asset uses its own colours, it looks like a collage. Here is how to choose a palette that works.
Use one palette for the whole game
The single most important rule: pick one palette and use it everywhere. Characters, environments, items, effects and UI should all come from the same colours. That consistency is what makes pixel art games look polished.
How many colours?
| Colours | Feel | Good for |
|---|---|---|
| 4 | Very restricted, Game Boy style | Game jams, strong style |
| 8–16 | Classic retro | Small sprites, tight art direction |
| 24–32 | Flexible | Larger characters, detailed backgrounds |
| 64+ | Almost unrestricted | Usually unnecessary for pixel art |
Fewer colours are easier to keep consistent. Start small; you can always add a colour, but removing one later means redrawing art.
Build ramps, not single colours
A ramp is a row of colours from dark to light that you use to shade one material: skin, grass, stone, metal.
- 3–5 colours per ramp is typical.
- Shift the hue along the ramp: lighter colours lean warmer (toward yellow), darker colours lean cooler (toward blue or purple). Ramps that only change brightness look muddy.
- Share colours between ramps. The darkest shade of the grass ramp might also be the darkest shade of the tree ramp. This connects everything.
Include these essentials
- A near-black for outlines and deep shadows (pure black can look harsh).
- A near-white for highlights and UI text.
- A neutral grey or brown ramp for stone, wood and UI.
- One or two saturated accent colours for things the player must notice: pickups, enemies, interactive objects.
Start from a proven palette
Building a palette from scratch is a skill of its own. Starting from a well-tested palette is a great shortcut:
- PICO-8 (16 colours): bright and readable, instantly recognisable.
- Sweetie 16: soft, friendly and very versatile.
- Game Boy (4 greens): for a strong retro identity.
Lospec hosts thousands more, searchable by colour count.
Or extract one from a reference
If you have concept art or a mood image, extract its main colours and use them as a starting palette. Then adjust: build proper ramps and add the essentials above.
The free Pixel Art Converter can generate a palette from any image (choose the number of colours), or apply PICO-8, Sweetie 16, Game Boy or your own HEX colours to an image. Export the palette as GPL for GIMP, Aseprite and Krita, as HEX, JSON or as a small PNG swatch strip.
Test before you commit
Before you draw the whole game:
- Draw one character, one ground tile and one UI panel with the palette.
- Put them together in a mock-up screenshot.
- Check that the character stands out from the background and that UI text is readable.
If the character disappears into the ground, adjust the ramps now, not after 300 sprites.
Using the palette in your engine
- Keep the palette as a small PNG strip in your project; it is handy as a lookup texture for palette swaps.
- For palette swaps (enemy colour variants, damage flashes), map each palette index to a colour in a shader.
- Import pixel art with point/nearest filtering and no compression so colours stay exact. See How to Turn an Image into Pixel Art for engine settings.
Summary
- One shared palette for the entire game.
- 8–16 colours for small sprites, 24–32 for larger art.
- Build hue-shifted ramps and share colours between them.
- Start from a proven palette or extract one from a reference, then test it.
Frequently asked questions
How many colours should a pixel art palette have?
8 to 16 colours are enough for small sprites and a classic look. 24 to 32 colours give more room for larger characters and backgrounds. Fewer colours make a more consistent style.
What is a colour ramp in pixel art?
A row of colours from dark to light used to shade one material. Good ramps shift hue slightly as they get lighter (for example toward yellow) and darker (toward blue or purple), instead of only changing brightness.
Where can I find pixel art palettes?
Lospec hosts thousands of palettes made by pixel artists. Classic ones like PICO-8, Sweetie 16 and the Game Boy palette are popular starting points.
Can I extract a palette from an image?
Yes. A palette generator finds the main colours of an image with clustering. It is a quick way to match the mood of a reference picture or concept art.