DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

setcolor(1fmli)


setcolor -- redefine or create a color

Synopsis

   setcolor color red_level green_level blue_level

Description

The setcolor command takes four arguments: color, which must be a string naming the color; and the arguments red_level, green_level, and blue_level, which must be integer values defining, respectively, the intensity of the red, green, and blue components of color. Intensities must be in the range of 0 to 1000. If you are redefining an existing color, you must use its current name (default color names are: black, blue, green, cyan, red, magenta, yellow, and white). setcolor returns the color's name string.

Examples

`setcolor blue 100 24 300`


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004