gRGBcolor(3) — Unix Programmer’s Manual
NAME
gRGBcolor - return the current RGB value
SYNOPSIS
C
gRGBcolor(red,green,blue)
RGBvalue ∗red, ∗green, ∗blue;
FORTRAN
subroutine gRGBco(red, green, blue)
integer∗2 red, green, blue
Pascal
procedure gRGBcolor (var red, green, blue: RGBvalue);
DESCRIPTION
The gRGBcolor command 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; otherwise, it is ignored.
SEE ALSO
RGBcolor, RGBmode
NOTE
This command can only be used in immediate mode.
Silicon Graphics — R1c