RGBcolor(3G) — 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: longint);
DESCRIPTION
RGBcolor sets the current color in RGB mode. red, green, blue are each 8-bit values. The system writes these numbers directly into the bitplanes whenever it draws a pixel. These values control the intensity of red, green, and blue displayed on the screen.
RGBcolor is available only in RGB mode.
SEE ALSO
color, gRGBcolor, RGBwritemask Programming Guide, Section 6.3, Colors and Writemasks
Version 3.6 — December 20, 1987