Amstrad CPC palette: 27 colours with hex codes

The Amstrad CPC palette
The Amstrad CPC could show twenty-seven colours: every mix of three levels of red, green and blue, which are none, half and full. That makes a neat cube of colours, with pure primaries, a row of pastels and one mid grey, which the CPC calls White.
| Colour | Swatch | Hex | RGB |
|---|---|---|---|
| 0, Black | #000000 | 0, 0, 0 | |
| 1, Blue | #000080 | 0, 0, 128 | |
| 2, Bright Blue | #0000ff | 0, 0, 255 | |
| 3, Red | #800000 | 128, 0, 0 | |
| 4, Magenta | #800080 | 128, 0, 128 | |
| 5, Mauve | #8000ff | 128, 0, 255 | |
| 6, Bright Red | #ff0000 | 255, 0, 0 | |
| 7, Purple | #ff0080 | 255, 0, 128 | |
| 8, Bright Magenta | #ff00ff | 255, 0, 255 | |
| 9, Green | #008000 | 0, 128, 0 | |
| 10, Cyan | #008080 | 0, 128, 128 | |
| 11, Sky Blue | #0080ff | 0, 128, 255 | |
| 12, Yellow | #808000 | 128, 128, 0 | |
| 13, White | #808080 | 128, 128, 128 | |
| 14, Pastel Blue | #8080ff | 128, 128, 255 | |
| 15, Orange | #ff8000 | 255, 128, 0 | |
| 16, Pink | #ff8080 | 255, 128, 128 | |
| 17, Pastel Magenta | #ff80ff | 255, 128, 255 | |
| 18, Bright Green | #00ff00 | 0, 255, 0 | |
| 19, Sea Green | #00ff80 | 0, 255, 128 | |
| 20, Bright Cyan | #00ffff | 0, 255, 255 | |
| 21, Lime | #80ff00 | 128, 255, 0 | |
| 22, Pastel Green | #80ff80 | 128, 255, 128 | |
| 23, Pastel Cyan | #80ffff | 128, 255, 255 | |
| 24, Bright Yellow | #ffff00 | 255, 255, 0 | |
| 25, Pastel Yellow | #ffff80 | 255, 255, 128 | |
| 26, Bright White | #ffffff | 255, 255, 255 |
The colours run in the CPC's firmware colour numbers, 0 to 26, which is the order of the table on the CPCWiki page.
To use these colours in another program, copy the list. It is one hex code per line, with no hash, which is the shape most palette pasters want.
000000
000080
0000FF
800000
800080
8000FF
FF0000
FF0080
FF00FF
008000
008080
0080FF
808000
808080
8080FF
FF8000
FF8080
FF80FF
00FF00
00FF80
00FFFF
80FF00
80FF80
80FFFF
FFFF00
FFFF80
FFFFFFAbout Amstrad CPC
The Amstrad CPC range began in 1984 with the CPC 464. A chip called the Gate Array picked the colours from the 27. In the 160 by 200 screen mode a program could show 16 of them at a time, in the 320 by 200 mode 4, and in the 640 by 200 mode 2. A CPC game was often built round the few colours that mode allowed.
- Because every channel is at a fixed level, the colours are bold and a little harsh. There are no browns: orange (#FF8000) and yellow (#808000) are the nearest.
- White (#808080) is a mid grey. The real white is Bright White (#FFFFFF), number 26.
- The pastels, such as Pastel Blue (#8080FF) and Pastel Yellow (#FFFF80), are the half-way colours between a bright colour and white.
Use it in the editor
The easy way is the link under the animation at the top of this page: Open it in the editor with this palette opens a little walker as your own copy, with all 27 colours loaded. Clear the canvas or draw over it and the palette stays. The original is never changed, and each time you open it you get a new project.
To put the palette into a sprite you already have, paste the list.
- Copy the hex list above.
- Open the editor and open the palette menu, the three dots at the top of the palette panel.
- Choose Paste hex list and paste. The editor says how many colours it found: 27 here.
- Choose Add to put the colours after the ones you have, or Replace to swap your palette for this one, and press the button at the bottom. A line shows what will change first, for example how many pixels change colour. The whole change is one step, so Undo takes it back.

How the sample was made
The sample is the Walk starter, which is drawn in the PICO-8 palette. It was opened in the editor, the hex list was pasted with Paste hex list and applied with Replace, and the GIF was exported from the editor. Replace swaps each colour for the nearest colour in the new palette, measured as the distance between the two colours in red, green and blue. So the sample shows what you would get, not a touched-up version. Sometimes the nearest colour is not the one you would pick by eye, and that is where you step in and fix a few pixels.
The picture is 16 by 16 pixels, with each pixel drawn as a block of 8 by 8 on screen, so the edges are sharp.
Tips for this palette
- Choose your sixteen first. A CPC picture used 16, 4 or 2 of the 27 at a time, and a sprite that sticks to sixteen looks right at home.
- Pairs that are one step apart, such as Blue and Bright Blue, make a clean shadow and light with no third colour.
- The cube is regular, so a ramp is easy: Red, Bright Red, Orange, Bright Yellow is a hot fire in four steps.
Where it comes from
The values on this page are the 27-colour table on the CPCWiki page "CPC Palette". Source: CPCWiki, "CPC Palette" (cpcwiki.eu).
Each of red, green and blue is at one of three levels: 0%, 50% or 100%, which this page writes as 00, 80 and FF. The table is the nominal one: each channel at 0%, 50% or 100%. The CPCWiki notes that 7F instead of 80 is also used for the half level, and that measurements of real signals (a separate piece of work) differ a little from the nominal table.
Amstrad CPC is the name of a computer range, and PixelFlipbook is not affiliated with Amstrad or with the CPCWiki. Colour values are facts about hardware, not artwork, and each one here is taken or computed as described above, and from nowhere else.
Lospec, the palette site that most pixel artists know, lists many more palettes, each with its author named. Find more at Lospec. The editor's Browse palettes button reads that list directly when you open it, so authors are credited where they published. Palettes from Lospec are not copied onto this site. We found no licence for reuse in Lospec's terms, so every palette here comes from the named hardware source instead.
Other palettes here: Windows 16 palette, Apple II palette, and the palette index. To edit, import or keep colours exact, read the palettes guide.