RGBcolor() — Silicon Graphics
NAME
RGBcolor - sets the current color in RGB mode
SPECIFICATION
C
RGBcolor(red, green, blue)
short red, green, blue;
FORTRAN
subroutine RGBcol(red, green, blue)
integer*4 red, green, blue
Pascal
procedure RGBcolor(red, green, blue: Short);
DESCRIPTION
In RGB mode, the current color is set with the RGBcolor command. Its arguments are three eight-bit values, one each for red, green, and blue. These numbers are written directly into the bitplanes whenever a pixel is drawn; they control the intensity of red, green, and blue displayed on the screen. RGBcolor is ignored in single or double buffer mode.
SEE ALSO
color, gRGBcolor, RGBwritemask
Version 2.4 — May 08, 1986