gRGBcolor(3G)

gRGBcolor - gets the current RGB color values

As shipped in IRIX 6.5.30. Unchanged since IRIX 6.5.

NAME
     gRGBcolor - gets the current RGB color values

C SPECIFICATION
     void gRGBcolor(red, green, blue)
     short *red, *green, *blue;

PARAMETERS
     red     expects a pointer to the location into which you want the system
             to copy the current red value.

     green   expects a pointer to the location into which you want the system
             to copy the current green value.

     blue    expects a pointer to the location into which you want the system
             to copy the current blue value.

DESCRIPTION
     gRGBcolor gets the current RGB color values and copies them into the
     parameters.  The system must be in RGB mode when you call gRGBcolor.

SEE ALSO
     RGBcolor, RGBmode, getmcolor

NOTE
     This routine is available only in immediate mode.