gRGBcolor() — Silicon Graphics
NAME
gRGBcolor - returns the current RGB value
SPECIFICATION
C
gRGBcolor(red, green, blue)
short *red, *green, *blue;
FORTRAN
subroutine gRGBco(red, green, blue)
integer*2 red, green, blue
Pascal
procedure gRGBcolor(var red, green, blue: Short);
DESCRIPTION
gRGBcolor returns the current RGB color values. The arguments are addresses of three locations that will be filled with the red, green, and blue values. The system must be in RGB mode when this command is executed.
SEE ALSO
RGBcolor, RGBmode
NOTE
This command can be used only in immediate mode.
Version 2.4 — May 08, 1986