Skip to main content
All posts
Color

Pixel Art Palettes: Color Count, Ramps and Hue Shifting

How many colors a pixel art palette needs, how to build ramps with hue shifting, and how to keep one palette consistent across sprites and animation frames.

A limited palette is one of the things that makes pixel art look like pixel art. Fewer colors force clear shapes, make sprites from different artists sit together and keep files small. This guide covers how many colors to use, how to build ramps that look good together, and how to keep a palette consistent across a whole set of sprites and animations.

How many colors do you need?

There is no correct number, but palette size sets the style. Classic hardware and popular modern palettes give useful reference points:

ColorsExampleFeels like
4Original Game Boy (four shades of green)Strongly retro; shape and value do all the work
16PICO-8, DawnBringer 16Classic indie pixel art; enough for characters and environments
32–64AAP-64Room for more materials and lighting while staying cohesive
100+Atari 2600 PAL (104), Aurora (256)Large sets to pick a game's sub-palette from, or to convert detailed images

A practical rule: start with 16 colors. Add colors only when you can name what they are for, such as a new material or a lighting effect. A single character sprite often uses far fewer colors than the full game palette.

Build ramps, not single colors

A palette is easier to use when it is organized into ramps: sequences of a single color from dark to light, used for shading one material. A skin ramp might have four or five steps, a metal ramp three.

The most important technique is hue shifting. Instead of only changing brightness and saturation along a ramp, shift the hue too: shadows lean toward cooler hues and highlights toward warmer ones. Ramps that only change brightness, often called straight ramps, look flat and are hard to combine with other ramps. Pixel artist Raymond Schlitter describes a workflow of choosing the number of swatches per ramp and a fixed hue shift between them in his Pixelblog on color palettes, noting that a positive hue shift, warming as colors get brighter, usually looks more natural.

Three habits help:

  • Shift hue between steps, not only value.
  • Keep a few desaturated neutrals for stone, metal and backgrounds, so saturated ramps have room to stand out.
  • Share colors between ramps. A dark shared by several ramps ties the palette together and saves slots.

Test the palette on real art

Swatches lie. A palette that looks balanced as a row of squares can look muddy on a sprite, or too contrasty next to a background. Test every palette on at least one character and one environment tile, at 1× and zoomed in, before committing to it.

Keep one palette across animation frames

Palettes matter even more in animation. If frames use slightly different colors, single pixels flicker as the animation plays, which is one of the most visible problems in AI-generated motion. Gridize keeps a controlled palette across every frame of an animation, and GIF exports use a single palette for the whole clip, so colors do not jump from frame to frame. See it on real sprites in the pixel art animation generator.

Applying a palette to an image in Gridize Desktop

If you convert images to pixel art, the palette does most of the stylistic work. In Gridize Desktop, turn on Custom palette and browse the built-in palettes with search, categories, color-count filters and favorites. Every palette can be edited as HEX values, so you can swap a color or build a project palette. Color matching maps the image onto the palette you chose; it does not redraw the composition. The image to pixel art guide walks through the full conversion.

Palette browser in Gridize Desktop with PICO-8, DawnBringer 16, AAP-64 and other palettes

Where to find more palettes

Community palette libraries such as the Lospec palette list collect thousands of palettes with their color counts and example art. Pick two or three candidates, test them on the same sprite and keep the one that reads best at 1×.