Color Palette Documentation

BeepMini uses a defined color palette to maintain a consistent 8-bit aesthetic across games. The colors are defined in the b8.CONFIG.COLORS array, which contains hexadecimal color values.

Since it’s javascript you can modify the array to fit however if you want to be a true BeepMini developer you should stick to the defined colors.

The Color Palette

The complete color palette is below. You can use these colors in your game by referencing their index in the array.

b8.color( fg, bg );

Where fg is the foreground color index and bg is the background color index.

You can see an example of the colour palette in action in the Colors example.

You can download palettes for aseprite and other editors on the Lospec palette page.

Color Scheme Generator

Just for fun, here’s a color scheme creator that randomly selects three colors from the BeepMini palette and displays them as a “slot machine”. Click the button to spin and see your color scheme!