Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gRGBcolor(3) — GL1 W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

gRGBcolor(3)  —  Silicon Graphics R1c

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. 

Version 2.3  —  July 04, 1985

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026