Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CC.LIB - ClipCode CLIPPER S'87 Library - <b> # i r g b monochrome color background foreground</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   #   I   R   G   B  Monochrome    Color             Background  Foreground
 ---- --- --- --- --- ----------    ----------------- ----------  ----------
   0   0   0   0   0  Black         N   Black          Sample      Sample 
   1   0   0   0   1  Underlined    B   Blue           Sample      Sample 
   2   0   0   1   0                G   Green          Sample      Sample 
   3   0   0   1   1                BG  Cyan           Sample      Sample 
   4   0   1   0   0                R   Red            Sample      Sample 
   5   0   1   0   1                RB  Violet         Sample      Sample 
   6   0   1   1   0                GR  Brown          Sample      Sample 
   7   0   1   1   1  White         W   White          Sample      Sample 

   8   1   0   0   0                N+  Grey           Sample      Sample 
   9   1   0   0   1  Brt Underline B+  Bright Blue    Sample      Sample 
  10   1   0   1   0                G+  Bright Green   Sample      Sample 
  11   1   0   1   1                BG+ Bright Cyan    Sample      Sample 
  12   1   1   0   0                R+  Bright Red     Sample      Sample 
  13   1   1   0   1                RB+ Bright Violet  Sample      Sample 
  14   1   1   1   0                GR+ Yellow         Sample      Sample 
  15   1   1   1   1  Bright White  W+  Bright White   Sample      Sample 

  Foreground/Background             X   Blank
  --------------------------------------------------------------------------

    Notes:  Background colors 8 through 15 are the same color as 0 through
            7, but blinking rather than steady: Blinking = *  eg. W/B*

            Character attributes contain both a foreground and a background
            color, and are calculated as follows:

                   attribute = 256 * background + foreground

See Also: ASCII Line Drawing Special Characters INKEY() Values

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson