FANDOM


Base colors Edit

These are the colors the screen palette is set to when PICO-8 starts up:

Index Color Hex RGB Name
0 #000000 0, 0, 0 black
1 #1D2B53 29, 43, 83 dark-blue
2 #7E2553 126, 37, 83 dark-purple
3 #008751 0, 135, 81 dark-green
4 #AB5236 171, 82, 54 brown
5 #5F574F 95, 87, 79 dark-grey
6 #C2C3C7 194, 195, 199 light-grey
7 #FFF1E8 255, 241, 232 white
8 #FF004D 255, 0, 77 red
9 #FFA300 255, 163, 0 orange
10 #FFEC27 255, 236, 39 yellow
11 #00E436 0, 228, 54 green
12 #29ADFF 41, 173, 255 blue
13 #83769C 131, 118, 156 lavender
14 #FF77A8 255, 119, 168 pink
15 #FFCCAA 255, 204, 170 light-peach

Names from Roman Zolotarev's PICO-8 palette reference, except:

  • "lavender" at index 13, as "indigo" is a darker, more saturated color, and also a somewhat different hue
  • "light-peach" at index 15, as "peach" seemed more appropriate in the additional color range below, which contains a dark peach color as well.

Additional colors available to be swapped in Edit

These colors are not documented, but zep has indicated that he is aware of the discovery and that he is allowing their use. Still, they remain undocumented, so it can't be assumed they will never change.

These colors may be swapped into the screen palette through pal(index, color, 1).

Note that the screen is still made of 4-bit pixels, so the screen palette remains limited to 16 colors per frame. These additional colors provide more candidates for that palette, but not more slots to put them in.

Index Color Hex RGB Name
128 #291814 41,24,20 darkest-grey
129 #111D35 17,29,53 darker-blue
130 #422136 66,33,54 darker-purple
131 #125359 18,83,89 blue-green
132 #742F29 116,47,41 dark-brown
133 #49333B 73,51,59 darker-grey
134 #A28879 162,136,121 medium-grey
135 #F3EF7D 243,239,125 light-yellow
136 #BE1250 190,18,80 dark-red
137 #FF6C24 255,108,36 dark-orange
138 #A8E72E 168,231,46 light-green
139 #00B543 0,181,67 medium-green
140 #065AB5 6,90,181 medium-blue
141 #754665 117,70,101 mauve
142 #FF6E59 255,110,89 dark peach
143 #FF9D81 255,157,129 peach

(Note that these colors were named arbitrarily at the time this section was created and are not official in any way. Those with a more artistic eye are invited to fine-tune them if they are off-base, but please try to keep in mind their connections to other parts of the palette, as has been done with the various grays, reds, greens, and blues. Knowing the exact name for a hue may not be as helpful to a reader as knowing where it can fit into a useful gradient.)

All other unlisted colors are currently black and should probably be treated as "reserved for future expansion", which is to say: do not use them.

Functions Edit

See also API Reference.

Community content is available under CC-BY-SA unless otherwise noted.