color() — Silicon Graphics
NAME
color − sets the color attribute
SPECIFICATION
C
color(c)
Colorindex c;
FORTRAN
subroutine color(c)
integer*4 c
Pascal
procedure color(c: longint);
DESCRIPTION
color sets the current color. The current color (c) is an index into a color map. In onemap mode, the color can be from 0 to 4095. In multimap mode, color is used in conjunction with a color map number and is between 0 and 255. The number of bitplanes determines the number of colors.
SEE ALSO
getcolor, RGBcolor, RGBwritemask, writemask
Version 2.5r1 — October 29, 1986