Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Other DOS - <b> color definitions</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                             Color Definitions

      Definitions found in TURBO C's "conio.h"

        0 - BLACK    4 - RED        8 - DARKGRAY    C - LIGHTRED
        1 - BLUE     5 - MAGENTA    9 - LIGHTBLUE   D - LIGHTMAGENTA
        2 - GREEN    6 - BROWN      A - LIGHTGREEN  E - YELLOW
        3 - CYAN     7 - LIGHTGRAY  B - LIGHTCYAN   F - WHITE


       |7|6|5|4|3|2|1|0| AL
        | | | | | | | +--- blue component of foreground color
        | | | | | | +---- green component of foreground color
        | | | | | +----- red component of foreground color
        | | | | +------ INTENSITY component of foreground color
        | | | +------- blue component of background color
        | | +-------- green component of background color
        | +--------- red component of background color
        +---------- BLINKING of foreground character

        - see  ANSI  for ANSI color definitions

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