Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gRGBcolor(3) — libiris R1c

Media Vault

Software Library

Restoration Projects

Artifacts Sought

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

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