[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 PALETTE                Select Grahpics Color Palette                 pp 165

 Syntax:  Palette (NumVar) ;

 Type:    Integer

 Form:    Graphics Procedure

 Purpose: Select graphics color palette from range of 0 thru 3.

 Notes:   Four palettes exist, numbered 0 through 3.  Each palette
          consists of four colors, designated as 0 through 3.
          Color 0 is always the background color.

                     Color 0      Color 1       Color 2        Color 3

          Palette 0  Background   Green         Red            Brown
          Palette 1  Background   Cyan          Magenta        LightGray
          Palette 2  Background   LightGreen    LightRed       Yellow
          Palette 3  Background   LightCyan     LightMagenta   White


 Usage:
       BEGIN
          GraphColorMode ;         { Set 320x200 medium resolution mode }
          Palette (0)    ;         { Set palette 0                      }
       END.

See Also: ColorTable GraphBackGround
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson