Color: FG and BG commands

 

The FG (foreground) command is used to change the font to virtually any color by mixing the three primary colors red, green, and blue.  

 

To change the font color:

 

1Place your cursor where you want the change in color to take place, or define a block of text to be changed.
2Press F9 to access the action line.
3Type FG r,g,b  (where r, g, b are numbers between 0 and 255 that specify the amount of red, green, and blue respectively in the custom color.)
4Press F10 to set the foreground color or the text color.

 

FG 255,255,255 is white, and FG 0,0,0 is black. FG 2,2,2 returns to the default system font color, usually black.

 

Similarly, the background color can be set by following the above instructions, substituting BG for FG.  The background color will change on screen, but it will not print in any color except white. The command to return to the default system background color is BG 1,1,1.

 

 

See also:

Colors