Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ color(3g) — GL2 W2.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

color()  —  Silicon Graphics

NAME

color − sets the color attribute

SPECIFICATION

C
color(c)
Colorindex c;

FORTRAN
subroutine color(c)
integer*4 c

Pascal
procedure color(c: longint);

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
 

Version 2.5  —  April 22, 1987

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