The graphics color is specified with the PEN statement as shown by this example:
PEN 4
If the current graphic device is the plotter it selects which pen is used to draw the lines. If the current graphic device is the computer system display, the pen number selects the color in which all graphics lines are drawn. Some display systems can operate in more than one graphics mode, and the number of available colors depends on the current graphics mode.
The following table gives the pen number to RGB number assignments. For monochrome displays, only the first two entries apply.