The GASK('COLREP',
. . . ) routine returns the predefined SAS color name associated with
a color index. GASK('COLREP', . . . ) searches for the current color
assigned to a color index in the following order:
-
the color selected by
the GSET('COLREP', . . . ) function.
-
the COLORS= graphics
option. If
color-index is 2,
the routine returns the second color from the color list of the COLORS=
graphics option.
-
the device's default
color list found in the device entry. If
color-index is 2, the routine returns the second color from the default color
list.