Difference between revisions of "SetColor Command"
From GeoGebra Manual
(fixed color list) |
m (typo) |
||
Line 37: | Line 37: | ||
</div> | </div> | ||
<div class='clear'> </div> | <div class='clear'> </div> | ||
− | |||
</div> | </div> |
Revision as of 23:00, 22 March 2011
- SetColor[ <Object>, <Red>, <Green>, <Blue> ]
- Changes the color of given object. The red, green and blue represent amount of corresponding color component, 0 being minimum and 1 maximum. Number t exceeding this interval is mapped to it using function 2\left|\frac{t}2-\mathrm round\left(\frac{t}2\right)\right|.
- SetColor[ <Object>, "color" ]
- Changes the color of given object. The color is entered as text. The command accepts more than hundred English color names (see Reference:Colors). Some of them can be also used in national languages and are listed below.
- Gray
- Aqua
- Black
- Blue
- Green
- Lime
- Maroon
- Purple
- Red
- Silver
- White
- Yellow
- Brown
- Crimson
- Cyan
- Dark Blue
- Dark Gray
- Light Gray
- Gold
- Magenta
- Indigo
- Pink
- Orange
- Violet
- Turquoise