Reduce each RGB channel to a selected number of evenly spaced tone levels.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
Each channel maps to the nearest level using step 255 ÷ (levels−1), while alpha is preserved. The quantized pixels are encoded as PNG.
Input: data:image/png;base64,iVBORw0KGgo= Levels: 4
PNG data URL with four evenly spaced RGB levels
Poster mock-ups flatten photographs, game assets limit palettes, and compression lessons show colour quantization.