Color Table

This is an exhaustive list of all text-mode screen attributes.  These
codes are easily calculated via a simple algorithm; see Screen Attributes.

 00 Black       on Black            10 Black       on Blue
 01 Blue        on Black            11 Blue        on Blue
 02 Green       on Black            12 Green       on Blue
 03 Cyan        on Black            13 Cyan        on Blue
 04 Red         on Black            14 Red         on Blue
 05 Magenta     on Black            15 Magenta     on Blue
 06 Brown       on Black            16 Brown       on Blue
 07 White       on Black            17 White       on Blue
 08 Grey        on Black            18 Grey        on Blue
 09 Brt Blue    on Black            19 Brt Blue    on Blue
 0A Brt Green   on Black            1A Brt Green   on Blue
 0B Brt Cyan    on Black            1B Brt Cyan    on Blue
 0C Brt Red     on Black            1C Brt Red     on Blue
 0D Brt Magenta on Black            1D Brt Magenta on Blue
 0E Brt Yellow  on Black            1E Brt Yellow  on Blue
 0F Brt White   on Black            1F Brt White   on Blue

 20 Black       on Green            30 Black       on Cyan
 21 Blue        on Green            31 Blue        on Cyan
 22 Green       on Green            32 Green       on Cyan
 23 Cyan        on Green            33 Cyan        on Cyan
 24 Red         on Green            34 Red         on Cyan
 25 Magenta     on Green            35 Magenta     on Cyan
 26 Brown       on Green            36 Brown       on Cyan
 27 White       on Green            37 White       on Cyan
 28 Grey        on Green            38 Grey        on Cyan
 29 Brt Blue    on Green            39 Brt Blue    on Cyan
 2A Brt Green   on Green            3A Brt Green   on Cyan
 2B Brt Cyan    on Green            3B Brt Cyan    on Cyan
 2C Brt Red     on Green            3C Brt Red     on Cyan
 2D Brt Magenta on Green            3D Brt Magenta on Cyan
 2E Brt Yellow  on Green            3E Brt Yellow  on Cyan
 2F Brt White   on Green            3F Brt White   on Cyan

 40 Black       on Red              50 Black       on Magenta
 41 Blue        on Red              51 Blue        on Magenta
 42 Green       on Red              52 Green       on Magenta
 43 Cyan        on Red              53 Cyan        on Magenta
 44 Red         on Red              54 Red         on Magenta
 45 Magenta     on Red              55 Magenta     on Magenta
 46 Brown       on Red              56 Brown       on Magenta
 47 White       on Red              57 White       on Magenta
 48 Grey        on Red              58 Grey        on Magenta
 49 Brt Blue    on Red              59 Brt Blue    on Magenta
 4A Brt Green   on Red              5A Brt Green   on Magenta
 4B Brt Cyan    on Red              5B Brt Cyan    on Magenta
 4C Brt Red     on Red              5C Brt Red     on Magenta
 4D Brt Magenta on Red              5D Brt Magenta on Magenta
 4E Brt Yellow  on Red              5E Brt Yellow  on Magenta
 4F Brt White   on Red              5F Brt White   on Magenta

 60 Black       on Brown            70 Black       on White
 61 Blue        on Brown            71 Blue        on White
 62 Green       on Brown            72 Green       on White
 63 Cyan        on Brown            73 Cyan        on White
 64 Red         on Brown            74 Red         on White
 65 Magenta     on Brown            75 Magenta     on White
 66 Brown       on Brown            76 Brown       on White
 67 White       on Brown            77 White       on White
 68 Grey        on Brown            78 Grey        on White
 69 Brt Blue    on Brown            79 Brt Blue    on White
 6A Brt Green   on Brown            7A Brt Green   on White
 6B Brt Cyan    on Brown            7B Brt Cyan    on White
 6C Brt Red     on Brown            7C Brt Red     on White
 6D Brt Magenta on Brown            7D Brt Magenta on White
 6E Brt Yellow  on Brown            7E Brt Yellow  on White
 6F Brt White   on Brown            7F Brt White   on White

 The final 128 color attributes codes have two interpretations,
 depending upon the setting of the video controller's blink/bold bit.
 See INT 10H 1003H (disable/enable blink).

 80 Black       on Grey        -or-  flashing Black       on Black
 81 Blue        on Grey        -or-  flashing Blue        on Black
 82 Green       on Grey        -or-  flashing Green       on Black
 83 Cyan        on Grey        -or-  flashing Cyan        on Black
 84 Red         on Grey        -or-  flashing Red         on Black
 85 Magenta     on Grey        -or-  flashing Magenta     on Black
 86 Brown       on Grey        -or-  flashing Brown       on Black
 87 White       on Grey        -or-  flashing White       on Black
 88 Grey        on Grey        -or-  flashing Grey        on Black
 89 Brt Blue    on Grey        -or-  flashing Brt Blue    on Black
 8A Brt Green   on Grey        -or-  flashing Brt Green   on Black
 8B Brt Cyan    on Grey        -or-  flashing Brt Cyan    on Black
 8C Brt Red     on Grey        -or-  flashing Brt Red     on Black
 8D Brt Magenta on Grey        -or-  flashing Brt Magenta on Black
 8E Brt Yellow  on Grey        -or-  flashing Brt Yellow  on Black
 8F Brt White   on Grey        -or-  flashing Brt White   on Black

 90 Black       on Brt Blue    -or-  flashing Black       on Blue
 91 Blue        on Brt Blue    -or-  flashing Blue        on Blue
 92 Green       on Brt Blue    -or-  flashing Green       on Blue
 93 Cyan        on Brt Blue    -or-  flashing Cyan        on Blue
 94 Red         on Brt Blue    -or-  flashing Red         on Blue
 95 Magenta     on Brt Blue    -or-  flashing Magenta     on Blue
 96 Brown       on Brt Blue    -or-  flashing Brown       on Blue
 97 White       on Brt Blue    -or-  flashing White       on Blue
 98 Grey        on Brt Blue    -or-  flashing Grey        on Blue
 99 Brt Blue    on Brt Blue    -or-  flashing Brt Blue    on Blue
 9A Brt Green   on Brt Blue    -or-  flashing Brt Green   on Blue
 9B Brt Cyan    on Brt Blue    -or-  flashing Brt Cyan    on Blue
 9C Brt Red     on Brt Blue    -or-  flashing Brt Red     on Blue
 9D Brt Magenta on Brt Blue    -or-  flashing Brt Magenta on Blue
 9E Brt Yellow  on Brt Blue    -or-  flashing Brt Yellow  on Blue
 9F Brt White   on Brt Blue    -or-  flashing Brt White   on Blue

 A0 Black       on Brt Green   -or-  flashing Black       on Green
 A1 Blue        on Brt Green   -or-  flashing Blue        on Green
 A2 Green       on Brt Green   -or-  flashing Green       on Green
 A3 Cyan        on Brt Green   -or-  flashing Cyan        on Green
 A4 Red         on Brt Green   -or-  flashing Red         on Green
 A5 Magenta     on Brt Green   -or-  flashing Magenta     on Green
 A6 Brown       on Brt Green   -or-  flashing Brown       on Green
 A7 White       on Brt Green   -or-  flashing White       on Green
 A8 Grey        on Brt Green   -or-  flashing Grey        on Green
 A9 Brt Blue    on Brt Green   -or-  flashing Brt Blue    on Green
 AA Brt Green   on Brt Green   -or-  flashing Brt Green   on Green
 AB Brt Cyan    on Brt Green   -or-  flashing Brt Cyan    on Green
 AC Brt Red     on Brt Green   -or-  flashing Brt Red     on Green
 AD Brt Magenta on Brt Green   -or-  flashing Brt Magenta on Green
 AE Brt Yellow  on Brt Green   -or-  flashing Brt Yellow  on Green
 AF Brt White   on Brt Green   -or-  flashing Brt White   on Green

 B0 Black       on Brt Cyan    -or-  flashing Black       on Cyan
 B1 Blue        on Brt Cyan    -or-  flashing Blue        on Cyan
 B2 Green       on Brt Cyan    -or-  flashing Green       on Cyan
 B3 Cyan        on Brt Cyan    -or-  flashing Cyan        on Cyan
 B4 Red         on Brt Cyan    -or-  flashing Red         on Cyan
 B5 Magenta     on Brt Cyan    -or-  flashing Magenta     on Cyan
 B6 Brown       on Brt Cyan    -or-  flashing Brown       on Cyan
 B7 White       on Brt Cyan    -or-  flashing White       on Cyan
 B8 Grey        on Brt Cyan    -or-  flashing Grey        on Cyan
 B9 Brt Blue    on Brt Cyan    -or-  flashing Brt Blue    on Cyan
 BA Brt Green   on Brt Cyan    -or-  flashing Brt Green   on Cyan
 BB Brt Cyan    on Brt Cyan    -or-  flashing Brt Cyan    on Cyan
 BC Brt Red     on Brt Cyan    -or-  flashing Brt Red     on Cyan
 BD Brt Magenta on Brt Cyan    -or-  flashing Brt Magenta on Cyan
 BE Brt Yellow  on Brt Cyan    -or-  flashing Brt Yellow  on Cyan
 BF Brt White   on Brt Cyan    -or-  flashing Brt White   on Cyan

 C0 Black       on Brt Red     -or-  flashing Black       on Red
 C1 Blue        on Brt Red     -or-  flashing Blue        on Red
 C2 Green       on Brt Red     -or-  flashing Green       on Red
 C3 Cyan        on Brt Red     -or-  flashing Cyan        on Red
 C4 Red         on Brt Red     -or-  flashing Red         on Red
 C5 Magenta     on Brt Red     -or-  flashing Magenta     on Red
 C6 Brown       on Brt Red     -or-  flashing Brown       on Red
 C7 White       on Brt Red     -or-  flashing White       on Red
 C8 Grey        on Brt Red     -or-  flashing Grey        on Red
 C9 Brt Blue    on Brt Red     -or-  flashing Brt Blue    on Red
 CA Brt Green   on Brt Red     -or-  flashing Brt Green   on Red
 CB Brt Cyan    on Brt Red     -or-  flashing Brt Cyan    on Red
 CC Brt Red     on Brt Red     -or-  flashing Brt Red     on Red
 CD Brt Magenta on Brt Red     -or-  flashing Brt Magenta on Red
 CE Brt Yellow  on Brt Red     -or-  flashing Brt Yellow  on Red
 CF Brt White   on Brt Red     -or-  flashing Brt White   on Red

 D0 Black       on Brt Magenta -or-  flashing Black       on Magenta
 D1 Blue        on Brt Magenta -or-  flashing Blue        on Magenta
 D2 Green       on Brt Magenta -or-  flashing Green       on Magenta
 D3 Cyan        on Brt Magenta -or-  flashing Cyan        on Magenta
 D4 Red         on Brt Magenta -or-  flashing Red         on Magenta
 D5 Magenta     on Brt Magenta -or-  flashing Magenta     on Magenta
 D6 Brown       on Brt Magenta -or-  flashing Brown       on Magenta
 D7 White       on Brt Magenta -or-  flashing White       on Magenta
 D8 Grey        on Brt Magenta -or-  flashing Grey        on Magenta
 D9 Brt Blue    on Brt Magenta -or-  flashing Brt Blue    on Magenta
 DA Brt Green   on Brt Magenta -or-  flashing Brt Green   on Magenta
 DB Brt Cyan    on Brt Magenta -or-  flashing Brt Cyan    on Magenta
 DC Brt Red     on Brt Magenta -or-  flashing Brt Red     on Magenta
 DD Brt Magenta on Brt Magenta -or-  flashing Brt Magenta on Magenta
 DE Brt Yellow  on Brt Magenta -or-  flashing Brt Yellow  on Magenta
 DF Brt White   on Brt Magenta -or-  flashing Brt White   on Magenta

 E0 Black       on Brt Yellow  -or-  flashing Black       on Brown
 E1 Blue        on Brt Yellow  -or-  flashing Blue        on Brown
 E2 Green       on Brt Yellow  -or-  flashing Green       on Brown
 E3 Cyan        on Brt Yellow  -or-  flashing Cyan        on Brown
 E4 Red         on Brt Yellow  -or-  flashing Red         on Brown
 E5 Magenta     on Brt Yellow  -or-  flashing Magenta     on Brown
 E6 Brown       on Brt Yellow  -or-  flashing Brown       on Brown
 E7 White       on Brt Yellow  -or-  flashing White       on Brown
 E8 Grey        on Brt Yellow  -or-  flashing Grey        on Brown
 E9 Brt Blue    on Brt Yellow  -or-  flashing Brt Blue    on Brown
 EA Brt Green   on Brt Yellow  -or-  flashing Brt Green   on Brown
 EB Brt Cyan    on Brt Yellow  -or-  flashing Brt Cyan    on Brown
 EC Brt Red     on Brt Yellow  -or-  flashing Brt Red     on Brown
 ED Brt Magenta on Brt Yellow  -or-  flashing Brt Magenta on Brown
 EE Brt Yellow  on Brt Yellow  -or-  flashing Brt Yellow  on Brown
 EF Brt White   on Brt Yellow  -or-  flashing Brt White   on Brown

 F0 Black       on Brt White   -or-  flashing Black       on White
 F1 Blue        on Brt White   -or-  flashing Blue        on White
 F2 Green       on Brt White   -or-  flashing Green       on White
 F3 Cyan        on Brt White   -or-  flashing Cyan        on White
 F4 Red         on Brt White   -or-  flashing Red         on White
 F5 Magenta     on Brt White   -or-  flashing Magenta     on White
 F6 Brown       on Brt White   -or-  flashing Brown       on White
 F7 White       on Brt White   -or-  flashing White       on White
 F8 Grey        on Brt White   -or-  flashing Grey        on White
 F9 Brt Blue    on Brt White   -or-  flashing Brt Blue    on White
 FA Brt Green   on Brt White   -or-  flashing Brt Green   on White
 FB Brt Cyan    on Brt White   -or-  flashing Brt Cyan    on White
 FC Brt Red     on Brt White   -or-  flashing Brt Red     on White
 FD Brt Magenta on Brt White   -or-  flashing Brt Magenta on White
 FE Brt Yellow  on Brt White   -or-  flashing Brt Yellow  on White
 FF Brt White   on Brt White   -or-  flashing Brt White   on White

See Also: Screen Attributes
          Video Modes
          BIOS Data Area
          INT 10H
          CGA I/O Ports
                                    -♦-