1setcolor(1F) FMLI Commands setcolor(1F)
2
3
4
6 setcolor - redefine or create a color
7
9 setcolor color red_level green_level blue_level
10
11
13 The setcolor command takes four arguments: color, which must be a
14 string naming the color; and the arguments red_level, green_level, and
15 blue_level, which must be integer values defining, respectively, the
16 intensity of the red, green, and blue components of color. Intensities
17 must be in the range of 0 to 1000. If you are redefining an existing
18 color, you must use its current name (default color names are: black,
19 blue, green, cyan, red, magenta, yellow, and white). setcolor returns
20 the color's name string.
21
23 Example 1 A sample output of setcolor command.
24
25
26 The following is an example of the arguments that setcolor takes:
27
28
29
30 `setcolor blue 100 24 300`
31
32
33
34 BUILT-IN FMLI
35
36
38 See attributes(5) for descriptions of the following attributes:
39
40
41
42
43 ┌─────────────────────────────┬─────────────────────────────┐
44 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
45 ├─────────────────────────────┼─────────────────────────────┤
46 │Availability │SUNWcsu │
47 └─────────────────────────────┴─────────────────────────────┘
48
50 attributes(5)
51
52
53
54SunOS 5.11 5 Jul 1990 setcolor(1F)