Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

color(3)  —  Unix Programmer’s Manual

NAME

color - set the color attribute

SYNOPSIS

C
color(c)
Colorindex c;

FORTRAN
subroutine color(c)
integer∗2 c

Pascal
procedure color(c: Colorindex);

DESCRIPTION

Color sets the color.  It is used until another color command changes it.  The current color is an index into a color map.  In onemap mode, the color can be in the range 0..4095.  In multimap mode, it is used in conjunction with a color map number and should be between 0 and 255.  The color is also bounded by the number of available planes.  If an illegal color is specified, it is replaced by the maximum legal color. 

SEE ALSO

getcolor, RGBcolor, RGBwritemask, texture, writemask

Silicon Graphics  —  R1c

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