Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ RGBcolor(3g) — GL2 W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

RGBcolor()  —  Silicon Graphics Beta Release

NAME

RGBcolor - sets the current color in RGB mode

SPECIFICATION

C
RGBcolor(red, green, blue)
short red, green, blue;

FORTRAN
subroutine RGBcol(red, green, blue)
integer*4 red, green, blue

Pascal
procedure RGBcolor(red, green, blue: RGBvalue);

DESCRIPTION

In RGB mode, the current color is set with the RGBcolor command.  Its arguments are three eight-bit values, one each for red, green, and blue.  These numbers are written directly into the bitplanes whenever a pixel is drawn; they control the intensity of red, green, and blue displayed on the screen.  RGBcolor is ignored in single or double buffer mode. 

SEE ALSO

color, gRGBcolor, RGBwritemask

Version 2.3  —  July 04, 1985

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