MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


FMLI Commands                                        setcolor(1F)



NAME
     setcolor - redefine or create a color

SYNOPSIS
     setcolor color redlevel greenlevel bluelevel


DESCRIPTION
     The setcolor command takes four arguments: color, which must
     be  a  string naming the color; and the arguments redlevel,
     greenlevel, and bluelevel, 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
     Example 1 A sample output of setcolor command.


     The following is an example of the arguments  that  setcolor
     takes:



     `setcolor blue 100 24 300`



     BUILT-IN FMLI


ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Availability                 SUNWcsu                     
    


SEE ALSO
     attributes(5)






SunOS 5.11           Last change: 5 Jul 1990                    1



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™