SET GAMMA This command will set the screens red, green and blue gamma levels.
Syntax
    SET GAMMA Red, Green, Blue
Parameters
    Red
Integer The red value
    Green
Integer The green value
    Blue
Integer The blue value
Returns
This command does not return a value.
Description
You can change the gamma to fade in and out the contents of the screen or alter the ratio of colours displayed. The red, green and blue component values can range from 0 to 511, with 255 being the default values. Reducing these values fades each colour component out of the screen, and above the default value enhances the ratio of the component colour. Some graphics cards do not support gamma alteration.
Example Code
    cls

    set display mode 800,600,32

    set window on

    maximize window

    wait 1000*8

    set gamma 255,255,255

    do

    loop

    end
See also
DISPLAY Commands Menu Index