QBasic and VBDOS Color Attributes and Values

 Color monitorMonochrome monitor
Color attributeDefault color value1Displayed colorDefault color valueDisplayed color
SCREEN Modes 0, 7, 8, 92, 12, and 13
00Black03off
11Blue Underlined4
22Green13On4
33Cyan13On4
44Red13On4
55Magenta13On4
66Brown13On4
77White13On4
88Gray03Off
99Light Blue High-intensity Underlined
1010Light green23High-intensity
1111Light cyan23High-intensity
1212Light red23High-intensity
1313Light magenta23High-intensity
1414Yellow23High-intensity
1515High-intensity white03Off
SCREEN Modes 1 and 95
00Black0Off
111Light cyan2High-intensity
213Light magenta2High-intensity
315High-intensity white0Off white
SCREEN Modes 2 and 11
00Black0Off
115High-intensity white0Off white
  1. EGA color numbers. VGA and MCGA use display-color values that produce visually equivalent colors.
  2. For VGA or EGA with video memory > 64K.
  3. Only for mode 0.
  4. Off when used for background.
  5. EGA with video memory <= 64K.