Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

color(3G)  —  Silicon Graphics

NAME

color − sets the color index in the current mode

SPECIFICATION

C
color(c)
Colorindex c;

FORTRAN
subroutine color(c)
integer*4 c

Pascal
procedure color(c: Colorindex);

DESCRIPTION

color sets the current color.  The current color (c) is an index into a color map.  In onemap mode, the color can be from 0 to 4095.  In multimap mode, color is used in conjunction with a color map number and is between 0 and 255.  The number of bitplanes determines the number of colors. 

SEE ALSO

getcolor, RGBcolor, RGBwritemask, writemask Programming Guide, Section 6.2, Color Maps

Version 3.6  —  December 20, 1987

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