K Invalid colour

Sinclair ZX Spectrum

Severity: Minor

What it means

The number given is not an appropriate value, in Sinclair's words.
It comes from INK, PAPER, BORDER, FLASH, BRIGHT, INVERSE and OVER, and from their control characters.

Affected Models

  • Sinclair ZX Spectrum 16K and 48K
  • ZX Spectrum+
  • Spectrum 128, +2 and +3 in 48 BASIC

How to Fix It

  1. Check the number given in the line the report names.

    INK and PAPER take 0 to 7 for a colour, 8 for transparent or 9 for contrast.
    BORDER takes 0 to 7.
    BRIGHT takes 0 for normal, 1 for bright or 8 for transparent.

  2. If the number comes from a variable, PRINT it to see its value.