Shading in the 256 Colour Modes
by Graham Veitch

This program demonstrates how to produce colour series, i.e. a series of shades of one colour. The program uses a function FNshades to work out which colour to use for a given base colour and intensity. This function is discussed in more detail in this month's magazine (RISC User Vol.3 No.1 p11).

The program displays two sets of colour series. At the top are 27 series of 8 shades each. These are obtained using colours with red, green and blue values in the range 0 to 2 and intensities in the range 0 to 7. At the bottom are 8 series of 12 shades each. To obtain these, use colours with red, green and blue values in the range 0 or 1 and intensities in the range 0 to 11.

Note: This program requires a ScreenSize of at least 160k. This should be set before running the program by either dragging the appropriate bar in the Task Display window or selecting Mode 15 using the Palette.
