Skip to content
Techniques & Technology

Dithering

More colours from fewer

Dithering created the illusion of additional colours by interleaving pixels of different shades, expanding limited palettes through optical mixing.

C64zx-spectrumAmigapc graphicsarttechnique 1980–present

Overview

When your palette has sixteen colours but your image needs thousands, dithering provides the illusion. By carefully placing pixels of different colours adjacent to each other, artists created apparent gradients and shades that didn’t exist in the palette. The eye blends neighbouring pixels, perceiving colours the hardware cannot display.

The principle

TechniqueResult
Alternating pixelsApparent mixed colour
Pattern densityPerceived brightness
Colour adjacencyBlended perception

Common patterns

Ordered dithering

Regular patterns:

Checkerboard:    Bayer matrix:
█ █ █ █          █   █
 █ █ █           █ █
█ █ █ █            █ █
 █ █ █           █   █

Error diffusion

Spread quantisation error to neighbours:

  • Floyd-Steinberg algorithm
  • Smoother gradients
  • More computation required

Platform applications

Commodore 64

ModeColoursDithering use
Multicolour4 per cellEssential
Hi-res2 per cellVery common

ZX Spectrum

Attribute limitations:

  • 2 colours per 8×8 block
  • Dithering within blocks
  • Colour clash mitigation

Amiga

HAM mode alternative:

  • Standard modes: dithering for gradients
  • EHB mode: 64 colours, still dithered
  • Quality vs performance tradeoff

PC (CGA/EGA)

ModeColoursDithering
CGA4Essential
EGA16Common
VGA256Less needed

Artist techniques

Gradient creation

Steps to fake smooth gradients:

  1. Solid colour A
  2. 75% A / 25% B dither
  3. 50% A / 50% B dither
  4. 25% A / 75% B dither
  5. Solid colour B

Texture simulation

Dithering creates:

  • Metal surfaces
  • Fabric textures
  • Skin tones
  • Natural surfaces

Tools

SoftwarePlatform
Deluxe PaintAmiga
BrillianceAmiga
Art StudioC64
OCP Art StudioSpectrum

Display considerations

DisplayDithering appearance
CRTBlends naturally
LCDMore visible pattern
EmulatorDepends on filtering

CRTs’ natural blur helped dithering succeed.

Famous examples

GameDithering use
Deluxe Paint artShowcase pieces
Sierra adventuresBackground gradients
Bitmap BrothersMetallic surfaces

See also