Game Dev Cheat Sheet

Colour Palette Generator

Generate harmonious colour palettes for games with colourblind simulation, contrast checking, and engine code export.

Choosing colours for a game involves more than aesthetics. Your palette needs to work for colourblind players (affecting up to 8% of male players), maintain readable contrast ratios, and keep characters visible against varied backgrounds. This tool generates harmonious palettes and tests them against real accessibility constraints.

Presets

Base Colour

#E63946
#39E6D9
Harmony:
Vision:

Palette

Crimsonrgb(230, 57, 70)hsl(355, 78%, 56%)
Turquoisergb(57, 230, 217)hsl(175, 78%, 56%)

Contrast Matrix

WCAG contrast ratios for every colour pair in your palette.

FG \ BG
2.7
2.7
Green: AA pass (4.5:1+)Yellow: large text only (3:1+)Red: fail (<3:1)

Sprite Readability

Each palette colour shown as a character silhouette against common game backgrounds.

ColourGrassSkyStoneCave
#E63946
#39E6D9

Export

new Color[] { new Color(0.902f, 0.224f, 0.275f), new Color(0.224f, 0.902f, 0.851f) }