Base colors Edit
These are the colors the screen palette is set to when PICO-8 starts up:
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.
(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.
circ(x, y, r, [col])
circfill(x, y, r, [col])
clip([x,] [y,] [w,] [h])
fset(n, [f,] [v])
line(x0, y0, x1, y1, [col])
pal([c0,] [c1,] [p])
print(str, [x,] [y,] [col])
pset(x, y, [c])
rect(x0, y0, x1, y1, [col])
rectfill(x0, y0, x1, y1, [col])
spr(n, x, y, [w,] [h,] [flip_x,] [flip_y])
sset(x, y, [c])
sspr(sx, sy, sw, sh, dx, dy, [dw,] [dh,] [flip_x,] [flip_y])
See also API Reference.