Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ RGBcolor(3g) — GL2 W2.5r1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

RGBcolor()  —  Silicon Graphics

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: longint);

DESCRIPTION

RGBcolor sets the current color in RGB mode.  red, green, and blue are each 8-bit values.  The IRIS writes these numbers directly into the bitplanes whenever it draws a pixel.  These values control the intensity of red, green, and blue displayed on the screen. 

RGBcolor is available only in RGB mode. 

SEE ALSO

color, gRGBcolor, RGBwritemask IRIS Graphics Programming, Section 6.3, Colors and Writemasks

Version 2.5r1  —  October 29, 1986

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