The NES could display up to 25 colors on screen at once, chosen from a master palette of 64 entries, of which about 54 are usable, distinct colors. Each sprite could use only 3 colors plus transparency, and each 16 x 16 area of the background was limited to 3 colors plus a shared backdrop color. Those rules, more than the 8-bit processor, are why NES games have their chunky, carefully color-blocked look.
How many colors are in the NES palette? #
The NES picture chip (the PPU) stores each color as a 6-bit number, which gives 64 possible palette entries. According to the NESdev wiki, which documents the hardware in detail, a 6-bit value in palette memory corresponds to one of 64 outputs.
Not all 64 are different colors. Several entries are duplicate blacks, and one of them, $0D, produces what NESdev calls a “blacker than black” signal that can cause problems on some TVs. Developers were told to avoid it. That’s why you’ll see the NES palette described as 54 usable colors. Wikipedia’s list of console palettes uses 54 but notes that counts from 52 to 55 have been reported, depending on how the near-duplicates are counted.
How many colors could the NES show at once? #
Here’s how the PPU’s palette memory adds up, per NESdev:
| Layer | Palettes | Colors each | Total |
|---|---|---|---|
| Background | 4 | 3 | 12 |
| Sprites | 4 | 3 (plus transparent) | 12 |
| Shared backdrop color | 1 | 1 | 1 |
| On screen at once | 25 |
The backdrop color shows wherever both layers are transparent, and it’s shared by every background palette. So a single screen could mix 25 colors, but never more without special programming tricks.
Why were NES sprites limited to three colors? #
Every sprite, whether 8 x 8 or 8 x 16 pixels, points to one of the four sprite palettes. Each palette holds three colors, and the fourth slot means “transparent.” So any single sprite is drawn with three colors at most. Character designs had to work inside that limit, so a single sprite had to cover skin, clothing and shading with just three colors.
There were other sprite limits too. The NES could handle 64 sprites in total, but only 8 on the same horizontal line. Put a ninth on the line and one would vanish for that frame, which is why busy NES games flicker.
How did background colors work? #
The background had its own four palettes of three colors, plus the shared backdrop. The catch is that a palette was assigned per 16 x 16 pixel area, not per pixel. Inside one 16 x 16 block, you could only use that block’s three colors and the backdrop.
That rule shaped NES level design. Artists lined up color changes with the 16-pixel grid, repeated tiles, and used the backdrop color (often the sky) as a “free” fourth color everywhere.
Why is there no single “correct” NES RGB palette? #
If you compare NES palettes from different emulators, you’ll find the hex values differ, sometimes a lot. NESdev explains why. The NES never produced RGB video. Its PPU generated an NTSC composite signal directly, and the colors you saw depended on the TV’s decoding, its settings and the cables. Every RGB palette is an interpretation.
That’s also why “hex-accurate NES palette” really means “one widely used interpretation.” If you’re matching a specific emulator or game capture, use that emulator’s palette.
How does the NES compare with other consoles? #
| System | Palette | On screen at once |
|---|---|---|
| Game Boy (1989) | 4 shades | 4 |
| NES (1983 in Japan) | 64 entries, about 54 usable | 25 |
| Sega Master System | 64 colors (6-bit RGB) | 32 |
| Game Boy Color (1998) | 32,768 (15-bit RGB) | Up to 56 without tricks |
Figures from Wikipedia’s list of video game console palettes.
Other key NES specs, from Wikipedia’s NES article: a 256 x 240 pixel picture, an 8-bit Ricoh 2A03 CPU at 1.79 MHz (NTSC), 2 KB of work RAM and 2 KB of video RAM. The Family Computer launched in Japan on July 15, 1983, and the NES reached North American test markets on October 18, 1985. For why hardware of that era was so tight on color, see why retro games had limited colors. For the even smaller Game Boy palette, see Game Boy palette hex codes.
How to use the NES palette on your own art or photos #
For drawing, load an NES palette into your pixel editor and, for authenticity, follow the hardware rules: three colors per sprite plus transparency, three colors per 16 x 16 background block plus one shared backdrop, and no more than 25 colors per screen.
For photos, a converter will map your picture to the NES colors in seconds. Pixelize has an NES palette with 55 entries among its 25 built-in palettes, and it lets every pixel pick from the full set. That means results are richer than a real NES screen could show. If you want something closer to the real limit, open Palette Studio in the app, create a new palette, and type in just 12 or 13 NES colors that suit your photo (for example a sky blue, a few skin tones, greens and a dark outline color). Then pick that palette in the editor.
The step-by-step settings for photos are in how to make a photo look like an NES game.
Frequently asked questions #
How many colors could the NES display at once? #
Up to 25 on a single screen: 12 from the four background palettes, 12 from the four sprite palettes, and one shared backdrop color.
How many colors are in the NES palette? #
The hardware has 64 palette entries. Because of duplicates and one unsafe black, about 54 are usable, distinct colors. Some sources say 52 to 55, depending on how they count near-duplicates.
Why do NES colors look different in different emulators? #
The NES generated composite video directly rather than RGB, so there’s no single measured set of hex values. Each emulator ships its own interpretation, and TVs of the time varied too.
How many colors could an NES sprite have? #
Three colors plus transparency. Each sprite uses one of four sprite palettes, and each palette has three colors with the fourth slot reserved for transparent.