Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- MICROSYS C & Clipper Functions - <b>colors</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Colors

  +-----------------------------------------------------------------+
  |  Black       N      0      |        Gray            N+      8   |
  |  Blue        B      1      |        Bright Blue     B+      9   |
  |  Green       G      2      |        Bright Green    G+     10   |
  |  Cyan        BG     3      |        Bright Cyan     BG+    11   |
  |  Red         R      4      |        Bright Red      R+     12   |
  |  Magenta     RB     5      |        Bright Magenta  RB+    13   |
  |  Brown       GR     6      |        Yellow          GR+    14   |
  |  White       W      7      |        Bright White    W+     15   |
  +-----------------------------------------------------------------+

   * Note

   If numbers are used and the background color is greater than 7, the
   foreground color is displayed blinking.  If letters are used and the
   high intensity attribute (+) is applied to the background color,
   the foreground color is displayed in high intensity.

   setcolor('w+/b') is the same as setcolor('15/1')

  BLACK ON BLACK            N/N      OR    0/0
  BLUE ON BLACK             B/N      OR    1/0
  GREEN ON BLACK            G/N      OR    2/0
  CYAN ON BLACK             BG/N     OR    3/0
  RED ON BLACK              R/N      OR    4/0
  MAGENTA ON BLACK          RB/N     OR    5/0
  BROWN ON BLACK            GR/N     OR    6/0
  WHITE ON BLACK            W/N      OR    7/0
  GRAY ON BLACK             N+/N     OR    8/0
  BRIGHT BLUE ON BLACK      B+/N     OR    9/0
  BRIGHT GREEN ON BLACK     G+/N     OR   10/0
  BRIGHT CYAN ON BLACK      BG+/N    OR   11/0
  BRIGHT RED ON BLACK       R+/N     OR   12/0
  BRIGHT MAGENTA ON BLACK   RB+/N    OR   13/0
  YELLOW ON BLACK           GR+/N    OR   14/0
  BRIGHT WHITE ON BLACK     W+/N     OR   15/0

  BLACK ON BLUE             N/B      OR    0/1
  BLUE ON BLUE              B/B      OR    1/1
  GREEN ON BLUE             G/B      OR    2/1
  CYAN ON BLUE              BG/B     OR    3/1
  RED ON BLUE               R/B      OR    4/1
  MAGENTA ON BLUE           RB/B     OR    5/1
  BROWN ON BLUE             GR/B     OR    6/1
  WHITE ON BLUE             W/B      OR    7/1
  GRAY ON BLUE              N+/B     OR    8/1
  BRIGHT BLUE ON BLUE       B+/B     OR    9/1
  BRIGHT GREEN ON BLUE      G+/B     OR   10/1
  BRIGHT CYAN ON BLUE       BG+/B    OR   11/1
  BRIGHT RED ON BLUE        R+/B     OR   12/1
  BRIGHT MAGENTA ON BLUE    RB+/B    OR   13/1
  YELLOW ON BLUE            GR+/B    OR   14/1
  BRIGHT WHITE ON BLUE      W+/B     OR   15/1

  BLACK ON GREEN            N/G      OR    0/2
  BLUE ON GREEN             B/G      OR    1/2
  GREEN ON GREEN            G/G      OR    2/2
  CYAN ON GREEN             BG/G     OR    3/2
  RED ON GREEN              R/G      OR    4/2
  MAGENTA ON GREEN          RB/G     OR    5/2
  BROWN ON GREEN            GR/G     OR    6/2
  WHITE ON GREEN            W/G      OR    7/2
  GRAY ON GREEN             N+/G     OR    8/2
  BRIGHT BLUE ON GREEN      B+/G     OR    9/2
  BRIGHT GREEN ON GREEN     G+/G     OR   10/2
  BRIGHT CYAN ON GREEN      BG+/G    OR   11/2
  BRIGHT RED ON GREEN       R+/G     OR   12/2
  BRIGHT MAGENTA ON GREEN   RB+/G    OR   13/2
  YELLOW ON GREEN           GR+/G    OR   14/2
  BRIGHT WHITE ON GREEN     W+/G     OR   15/2

  BLACK ON CYAN             N/BG     OR    0/3
  BLUE ON CYAN              B/BG     OR    1/3
  GREEN ON CYAN             G/BG     OR    2/3
  CYAN ON CYAN              BG/BG    OR    3/3
  RED ON CYAN               R/BG     OR    4/3
  MAGENTA ON CYAN           RB/BG    OR    5/3
  BROWN ON CYAN             GR/BG    OR    6/3
  WHITE ON CYAN             W/BG     OR    7/3
  GRAY ON CYAN              N+/BG    OR    8/3
  BRIGHT BLUE ON CYAN       B+/BG    OR    9/3
  BRIGHT GREEN ON CYAN      G+/BG    OR   10/3
  BRIGHT CYAN ON CYAN       BG+/BG   OR   11/3
  BRIGHT RED ON CYAN        R+/BG    OR   12/3
  BRIGHT MAGENTA ON CYAN    RB+/BG   OR   13/3
  YELLOW ON CYAN            GR+/BG   OR   14/3
  BRIGHT WHITE ON CYAN      W+/BG    OR   15/3

  BLACK ON RED              N/R      OR    0/4
  BLUE ON RED               B/R      OR    1/4
  GREEN ON RED              G/R      OR    2/4
  CYAN ON RED               BG/R     OR    3/4
  RED ON RED                R/R      OR    4/4
  MAGENTA ON RED            RB/R     OR    5/4
  BROWN ON RED              GR/R     OR    6/4
  WHITE ON RED              W/R      OR    7/4
  GRAY ON RED               N+/R     OR    8/4
  BRIGHT BLUE ON RED        B+/R     OR    9/4
  BRIGHT GREEN ON RED       G+/R     OR   10/4
  BRIGHT CYAN ON RED        BG+/R    OR   11/4
  BRIGHT RED ON RED         R+/R     OR   12/4
  BRIGHT MAGENTA ON RED     RB+/R    OR   13/4
  YELLOW ON RED             GR+/R    OR   14/4
  BRIGHT WHITE ON RED       W+/R     OR   15/4

  BLACK ON MAGENTA          N/RB     OR    0/5
  BLUE ON MAGENTA           B/RB     OR    1/5
  GREEN ON MAGENTA          G/RB     OR    2/5
  CYAN ON MAGENTA           BG/RB    OR    3/5
  RED ON MAGENTA            R/RB     OR    4/5
  MAGENTA ON MAGENTA        RB/RB    OR    5/5
  BROWN ON MAGENTA          GR/RB    OR    6/5
  WHITE ON MAGENTA          W/RB     OR    7/5
  GRAY ON MAGENTA           N+/RB    OR    8/5
  BRIGHT BLUE ON MAGENTA    B+/RB    OR    9/5
  BRIGHT GREEN ON MAGENTA   G+/RB    OR   10/5
  BRIGHT CYAN ON MAGENTA    BG+/RB   OR   11/5
  BRIGHT RED ON MAGENTA     R+/RB    OR   12/5
  BRIGHT MAGENTA ON MAGENTA RB+/RB   OR   13/5
  YELLOW ON MAGENTA         GR+/RB   OR   14/5
  BRIGHT WHITE ON MAGENTA   W+/RB    OR   15/5

  BLACK ON BROWN            N/GR     OR    0/6
  BLUE ON BROWN             B/GR     OR    1/6
  GREEN ON BROWN            G/GR     OR    2/6
  CYAN ON BROWN             BG/GR    OR    3/6
  RED ON BROWN              R/GR     OR    4/6
  MAGENTA ON BROWN          RB/GR    OR    5/6
  BROWN ON BROWN            GR/GR    OR    6/6
  WHITE ON BROWN            W/GR     OR    7/6
  GRAY ON BROWN             N+/GR    OR    8/6
  BRIGHT BLUE ON BROWN      B+/GR    OR    9/6
  BRIGHT GREEN ON BROWN     G+/GR    OR   10/6
  BRIGHT CYAN ON BROWN      BG+/GR   OR   11/6
  BRIGHT RED ON BROWN       R+/GR    OR   12/6
  BRIGHT MAGENTA ON BROWN   RB+/GR   OR   13/6
  YELLOW ON BROWN           GR+/GR   OR   14/6
  BRIGHT WHITE ON BROWN     W+/GR    OR   15/6

  BLACK ON WHITE            N/W      OR    0/7
  BLUE ON WHITE             B/W      OR    1/7
  GREEN ON WHITE            G/W      OR    2/7
  CYAN ON WHITE             BG/W     OR    3/7
  RED ON WHITE              R/W      OR    4/7
  MAGENTA ON WHITE          RB/W     OR    5/7
  BROWN ON WHITE            GR/W     OR    6/7
  WHITE ON WHITE            W/W      OR    7/7
  GRAY ON WHITE             N+/W     OR    8/7
  BRIGHT BLUE ON WHITE      B+/W     OR    9/7
  BRIGHT GREEN ON WHITE     G+/W     OR   10/7
  BRIGHT CYAN ON WHITE      BG+/W    OR   11/7
  BRIGHT RED ON WHITE       R+/W     OR   12/7
  BRIGHT MAGENTA ON WHITE   RB+/W    OR   13/7
  YELLOW ON WHITE           GR+/W    OR   14/7
  BRIGHT WHITE ON WHITE     W+/W     OR   15/7

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