Pixel UI/Get started

Palettes

Every GPU component is dithered into a palette: a short list of colours, dark to light. Pick one of the ten, or pass your own.

lime

palette="lime"

aurora

palette="aurora"

sunset

palette="sunset"

ocean

palette="ocean"

candy

palette="candy"

violet

palette="violet"

fire

palette="fire"

gameboy

palette="gameboy"

paper

palette="paper"

mono

palette="mono"

Your own colours

Pass two to six colours, dark to light, separated by commas. The darkest is the background, the lightest the highlights.

Dither

Between two palette colours the pixels are ordered-dithered with an 8×8 Bayer matrix, which is what gives everything its texture. Turn it down with dither, from 1 (full) to 0 (flat bands).