SETTING DEFAULT HP-GL PEN COLORS
532
Allowable values for pen numbers are 0 through 255. Pen width is measured in
millimeters. Red, green, and blue values can be any number between 0.0 and 1.0.
The following table shows the red, green, and blue combinations for each of the
eight basic colors.
Pen
color
number Color Red
value Green
value Blue
value
0 white 1.0 1.0 1.0
1 black 0.0 0.0 0.0
2 red 1.0 0.0 0.0
3 green 0.0 1.0 0.0
4 blue 0.0 0.0 1.0
5 cyan 0.0 1.0 1.0
6 magenta 1.0 0.0 1.0
7 yellow 1.0 1.0 0.0