Difference between revisions of "SetColor Command"

From GeoGebra Manual
Jump to: navigation, search
m (formating)
Line 3: Line 3:
 
;SetColor[ <Object>, "color" ]
 
;SetColor[ <Object>, "color" ]
 
:Changes the color of given object. The color is entered as [[Texts|text]]. Accepted values are
 
:Changes the color of given object. The color is entered as [[Texts|text]]. Accepted values are
"Lime", "Maroon", "Purple", "Red", "Silver", "White", "Yellow", "Brown", "Crimson", "Cyan", "Dark Blue", "Dark Gray", "Light Gray", "Gold", "Magenta", "Indigo", "Pink", "Orange", "Violet", "Turquoise".
+
:"Lime", "Maroon", "Purple", "Red", "Silver", "White", "Yellow", "Brown", "Crimson", "Cyan", "Dark Blue", "Dark Gray", "Light Gray", "Gold", "Magenta", "Indigo", "Pink", "Orange", "Violet", "Turquoise".
 
;SetColor[ <Object>, <Red>, <Green>, <Blue> ]
 
;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 <math>2\left|\frac{t}2-\mathrm round\left(\frac{t}2\right)\right|</math>.
 
: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 <math>2\left|\frac{t}2-\mathrm round\left(\frac{t}2\right)\right|</math>.

Revision as of 22:23, 22 March 2011



SetColor[ <Object>, "color" ]
Changes the color of given object. The color is entered as text. Accepted values are
"Lime", "Maroon", "Purple", "Red", "Silver", "White", "Yellow", "Brown", "Crimson", "Cyan", "Dark Blue", "Dark Gray", "Light Gray", "Gold", "Magenta", "Indigo", "Pink", "Orange", "Violet", "Turquoise".
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|.
© 2024 International GeoGebra Institute