Pixel Rumble

Pixel art editor & sprite sheet tools

Stage 05 · colour select

Retro console palettes

The colours of the NES, Game Boy, PICO-8, CGA and Commodore 64, with hex codes to copy and palette files for Aseprite, GIMP, Krita and your game engine.

The Nintendo Entertainment System's picture chip (the 2C02 PPU) has 64 palette entries, numbered $00 to $3F, in four rows of brightness. It produces an analogue TV signal rather than RGB, so this is one widely used RGB rendering. A game can show up to 25 of these at once: a shared background colour plus four 3-colour background palettes and four 3-colour sprite palettes.

NES (2C02)

64 entries · 55 distinct colours

  • #7c7c7c $00
  • #0000fc $01
  • #0000bc $02
  • #4428bc $03
  • #940084 $04
  • #a80020 $05
  • #a81000 $06
  • #881400 $07
  • #503000 $08
  • #007800 $09
  • #006800 $0A
  • #005800 $0B
  • #004058 $0C
  • #000000 $0D
  • #000000 $0E
  • #000000 $0F
  • #bcbcbc $10
  • #0078f8 $11
  • #0058f8 $12
  • #6844fc $13
  • #d800cc $14
  • #e40058 $15
  • #f83800 $16
  • #e45c10 $17
  • #ac7c00 $18
  • #00b800 $19
  • #00a800 $1A
  • #00a844 $1B
  • #008888 $1C
  • #000000 $1D
  • #000000 $1E
  • #000000 $1F
  • #f8f8f8 $20
  • #3cbcfc $21
  • #6888fc $22
  • #9878f8 $23
  • #f878f8 $24
  • #f85898 $25
  • #f87858 $26
  • #fca044 $27
  • #f8b800 $28
  • #b8f818 $29
  • #58d854 $2A
  • #58f898 $2B
  • #00e8d8 $2C
  • #787878 $2D
  • #000000 $2E
  • #000000 $2F
  • #fcfcfc $30
  • #a4e4fc $31
  • #b8b8f8 $32
  • #d8b8f8 $33
  • #f8b8f8 $34
  • #f8a4c0 $35
  • #f0d0b0 $36
  • #fce0a8 $37
  • #f8d878 $38
  • #d8f878 $39
  • #b8f8b8 $3A
  • #b8f8d8 $3B
  • #00fcfc $3C
  • #f8d8f8 $3D
  • #000000 $3E
  • #000000 $3F
Download

Download options

Convert your own palette

Paste hex codes or open a palette file, then download it in another format.

GIMP .gpl, .hex (one RRGGBB per line), Paint.NET .txt, a JSON array, CSS or any text with hex codes or rgb() colours.

No colours yet

    Download

    Using a retro palette

    Click any colour to copy its hex code. Each palette can be downloaded in five formats: GPL (GIMP palette, also opened by Aseprite, Krita, Inkscape and LibreSprite), HEX (one code per line), PNG (a strip of swatches; choose 1 px per colour when a program loads palettes from images), JSON (an array of hex strings, with names and NES index numbers where the palette has them) and CSS custom properties.

    Working inside a real console's limits is part of the look. On the NES each 16 × 16 pixel area of the background uses one 3-colour palette plus the shared background colour, and a sprite has three colours plus transparency. Game Boy art lives in four shades, so contrast does all the work. PICO-8 and the C64 give you 16 colours for the whole screen. Picking a palette first and sticking to it is the quickest way to make a set of sprites look like they belong together.

    For a picture rather than a drawing, use image to pixel art: it maps every pixel to the palette you choose and can dither to suggest in-between colours. To draw by hand, pick the same palette in the pixel art editor.

    Sources

    Questions

    Are these the exact colours of the real consoles?

    PICO-8 and CGA colours are defined digitally, so their hex values are standard. The NES and the Commodore 64 send an analogue TV signal and the original Game Boy has a greenish LCD, so any RGB version of those is an approximation. The sets here are widely used ones; emulators offer many variants.

    Which file format should I download?

    GPL for GIMP, Aseprite, Krita and Inkscape. HEX for Lospec-style lists and Aseprite. PNG with one pixel per colour for tools that load a palette from an image. JSON for your own code, and CSS for web projects.

    Why does the NES table repeat black?

    The NES has 64 palette entries, but several of them all display black. The table keeps the hardware order so the $ index numbers line up with what you write in code, and the downloads list each distinct colour once. Avoid $0D on real hardware: that black is darker than the TV expects.

    Can I draw with these palettes?

    Yes. The pixel art editor has PICO-8, Game Boy, NES, Commodore 64 and CGA in its palette menu, and image to pixel art can convert a picture to any of them, with dithering if you like.