How to make a pixel art color palette

With only a handful of colors, every one has to earn its place: it shades a form, separates two materials or pulls the eye. This guide shows how to build a palette that does all three, from value and hue-shifted ramps to saturation and color count, and how to test it before you've drawn too much.

Updated November 2026 · 8 min read

The short version. Plan light and dark before hue: if a sprite reads in grayscale, it will read in color. Build each material as a ramp of three to five shades that shifts hue as it gets darker and lighter. Save your strongest saturation for what matters and keep backgrounds calmer than characters. Start with 8–16 colors, share colors between ramps, and skip pure black and white.

Why limit your colors?

A small, planned palette is what makes a set of sprites look like they belong to the same game. It also makes drawing faster: when the skin has exactly three shades, choosing a shadow color takes no thought at all. Old hardware forced limits like these, but artists still choose them today because the constraint does so much of the work.

1. Start with value, not hue

Value is how light or dark a color is, ignoring its hue. At small sizes, value does most of the work: it shows which way a surface faces, and it separates face from hair and character from background. Two colors with different hues but the same value blur together as soon as the sprite is small or seen at a glance.

The test is simple: look at your art in grayscale. If two parts that should be separate merge into one gray, push their values apart.

The mascot in his normal colors.
Clear values
The same sprite in grayscale: hair, face, scarf and tunic are all clearly separate.
In grayscale
The mascot with the same hues, but every color moved toward the same lightness.
Values too close
That version in grayscale: a flat gray shape with the face, hair and clothes merged together.
In grayscale
The second pair uses the same hues with every lightness pulled toward the middle. In color it still passes at a glance; in grayscale hair, face, scarf and tunic merge. That's roughly how it reads on a busy screen.

For a quick grayscale view of anything on screen, turn on your system's grayscale filter. On Windows it's under Settings › Accessibility › Color filters, and you can enable a keyboard shortcut (Windows + Ctrl + C) to toggle it. On a Mac it's under System Settings › Accessibility › Display › Color filters.

2. Build each material as a ramp

A ramp is three to five shades of one material, from dark to light: skin, hair, cloth, metal, leaves. You shade that material with its ramp only, which keeps the shading consistent across every sprite that uses it.

Building a ramp is easiest in HSB (hue, saturation, brightness):

  1. Pick the base color first — the color the material simply is, in neutral light.
  2. Make the darker steps by lowering brightness and rotating the hue away from yellow, toward blue or purple. Keep saturation up, or even raise it a little, so shadows stay rich instead of gray.
  3. Make the lighter steps by raising brightness and rotating the hue toward yellow, while lowering saturation so highlights don't glow.
  4. Space the steps evenly and clearly. Neighbouring shades need to be told apart at actual size; in a five-step ramp that's usually 10 to 20 points of brightness per step.

This is called hue shifting, and it's what makes pixel-art shading look lit rather than just darker. Here's the green ramp used for every grass tile and tunic on this site:

ColorRoleHueSaturationBrightness
#13323ADarkest shadow192°67%23%
#1C5A48Shadow163°69%35%
#2E8A4EBase141°67%54%
#5CBD4FLight113°58%74%
#B2E267Highlight83°54%89%

Over five steps the hue swings about 110°, from teal in the shadows to yellow-green in the highlight. Saturation stays high through the dark and middle steps and falls off toward the highlight, and brightness climbs 12 to 20 points at a time. For a side-by-side of a flat ramp and a hue-shifted one, see how to make pixel art.

In PixeMaker: click Edit above the palette to add, change or remove colors. Add each ramp's colors one after another, dark to light, so the palette panel reads as ramps and the next shade is always right beside the current one.

3. Use saturation on purpose

Fully saturated colors straight off the color wheel look garish and fight each other. Pull saturation back on most of your colors and keep the strongest ones for small accents. Saturation and contrast both draw the eye, so put the most of them where you want people to look: characters, items, pickups and anything the player can interact with.

Large areas need the opposite. A background with less saturation and a narrower range of values sits back and lets the characters read; one that's as loud as the characters competes with them.

The mascot standing on very saturated, high-contrast grass that competes with him.
Background as loud as the character
The same scene with muted, lower-contrast grass and dirt, so the mascot stands out.
Calmer background
Same scene, same character. On the left his green tunic sinks into grass that's brighter and busier than he is; on the right the ground uses lower saturation and less contrast, so he reads first.

4. Decide how many colors

Fewer colors are easier to keep consistent, and they force every shade to do a job. Count colors per sprite as well as per game: a 32-color game palette might give each sprite 8 to 16 of them.

ColorsTypical useWhat it feels like
2–4Game Boy style, 1-bit art, game jamsAll about value and silhouette; very cohesive
8–16Small sprites, small gamesRoom for two to four ramps; the sweet spot for learning
16–32Most indie pixel gamesRamps for characters plus an environment
32–64+Detailed scenes and illustrationsFlexible, but easy to lose cohesion
The mascot in four shades of green.
4 colors
The mascot in eight colors, looking almost the same as the original.
8 colors
The original mascot.
27 colors
With 8 colors the mascot loses very little: about a dozen of the original 27 cover four pixels or fewer. With 4, everything rests on value, which still works because the values were planned.

If you find several near-identical colors in your art (six greens a few points apart, say), merge them. They add work without adding anything the viewer can see.

5. Make the ramps work together

A palette is more than a pile of ramps. A few habits make them feel like one set:

A palette chart of 43 colors in nine columns: ink and grays, then red, gold, green, blue, purple, brown, skin and pink ramps, each running dark at the bottom to light at the top.
43 colors · ink and grays, then red, gold, green, blue, purple, brown, skin and pink
The palette behind every piece of art on this site. In each ramp the shadows rotate away from yellow: gold toward red-brown, green toward teal, red toward purple. The darkest "black" is a deep blue-purple, #1B1726.

6. Plan for palette swaps

When ramps have the same number of steps, you can trade a whole ramp for another and get a new version of a sprite for free: enemy variants, team colors, alternate outfits. Early consoles stored sprites as color numbers rather than colors, which is how one sprite became a red and a blue enemy, and games still use the trick today, often with a shader that looks up colors in a small palette texture.

The original mascot: brown hair, red scarf, green tunic, blue trousers.
Original
The mascot with a blue scarf, red tunic and gray trousers.
Swap 1
The mascot with gray hair and boots, a gold scarf, blue tunic and purple trousers.
Swap 2
The mascot with golden hair and boots, a green scarf, purple tunic and brown trousers.
Swap 3
Each version swaps whole five-step ramps, shade for shade. The hair and boots share the brown ramp, so they always change together. Keep anything that shouldn't change, like skin and eyes, on ramps of its own.

In PixeMaker: pick the Fill tool and set it to Same color. One click replaces that color everywhere on the current layer and frame. Swap a ramp one shade at a time, and if the new ramp is already used elsewhere in the sprite, swap that part first so the two don't merge.

7. Start from a ready-made palette

Borrowing a well-made palette is a great way to practice within limits, and to see how experienced artists balance their ramps. Lospec's palette list has thousands of them, searchable by color count and downloadable as images or palette files. Popular starting points include PICO-8 (16 colors), Sweetie 16, DawnBringer's DB16 and DB32, Endesga 32 and Resurrect 64.

Treat them as a starting point. It's normal to add or replace a color or two for a particular project, as long as the new colors follow the same hue shifts as the rest.

To see how a palette handles a real picture before you commit to it, run a photo through the image to pixel art converter: choose Custom and paste the palette's hex codes.

In PixeMaker: download the palette as a 1× PNG and open it with File › Open (this replaces the canvas, so export your current sprite first). Click Edit above the palette, then From drawing to add every color in the image. Remove any colors you don't want with ×, and start your art with File › New sprite — the palette stays.

Common palette mistakes

Frequently asked questions

How many colors should a pixel art palette have?

A single sprite usually needs 8 to 16 colors, and a whole game palette of 16 to 32 is common. Fewer colors are easier to keep consistent, so start small and only add a color when you can say what it's for.

What is a color ramp in pixel art?

A short sequence of shades of one material, from dark to light, usually three to five colors. You shade that material using only its ramp, which keeps the shading consistent.

What is hue shifting?

Rotating the hue along a ramp instead of only changing brightness: darker shades lean cooler or toward purple and blue, lighter shades lean warmer and toward yellow. It makes shading look lit rather than simply darker.

Should I use pure black in pixel art?

Usually not. A very dark, slightly colored shade such as a deep blue-purple still reads as black but sits better with the rest of the palette. The same goes for pure white: a warm off-white usually looks better.

Where can I find pixel art palettes?

Lospec's palette list has thousands of palettes you can filter by color count and download as an image or palette file. PICO-8, Sweetie 16, DawnBringer 16 and 32, Endesga 32 and Resurrect 64 are popular starting points.

Try it in the editorFree, in your browser, nothing to install.

Open the editor