Microsoft KB Archive/35141

From BetaArchive Wiki

Text Colors with printf ID Number: Q35141

5.x MS-DOS


Under the following EGA and text screen modes, printf has a foreground of color 7 (gray by default) and a background of color 0 (black by default):


The color of color 0 and color 7 can be changed through the use of ANSI.SYS escape codes in text mode, or by using the _remapalette function in graphics mode.