The choice of colours or shades available to a computer program. The size of the palette may vary from two (as in monochrome with no intervening graduations) to many millions. The colours in the palette are normally chosen from a much larger number, such as a choice of 256 chosen from 4096; the numbers are usually powers of 2.