color() — Silicon Graphics Beta Release
NAME
color - sets the color attribute
SPECIFICATION
C
color(c)
Colorindex c;
FORTRAN
subroutine color(c)
integer*4 c
Pascal
procedure color(c: Colorindex);
DESCRIPTION
color sets the current color which is used until another color command changes it. The current color is an index into a color map. In onemap mode, the color can be in the range from 0 to 4095. In multimap mode, it is used in conjunction with a color map number and should be between 0 and 255. The color is also bounded by the number of available planes.
SEE ALSO
getcolor, RGBcolor, RGBwritemask, writemask
Version 2.3 — July 04, 1985