SetBackgroundColor Command

From GeoGebra Manual
Revision as of 17:59, 26 June 2011 by Murkle (talk | contribs) (Created page with "<noinclude>{{Manual Page|version=4.0}}</noinclude> {{command|scripting}} ;SetBackgroundColor[ <Object>, <Red>, <Green>, <Blue> ] :Changes the background color of given object. ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



SetBackgroundColor[ <Object>, <Red>, <Green>, <Blue> ]
Changes the background color of given object. This is used for Texts and for objects in the Spreadsheet. 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|.
SetBackgroundColor[ <Object>, "color" ]
Changes the background color of given object. This is used for Texts and for objects in the Spreadsheet. The color is entered as text. The command accepts more than a 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
  • Dark Green
  • Light Yellow
  • Light Orange
  • Crimson
  • Cyan
  • Dark Blue
  • Dark Gray
  • Light Gray
  • Gold
  • Magenta
  • Indigo
  • Pink
  • Orange
  • Violet
  • Turquoise
  • Light Violet
  • Light Purple
 
© 2024 International GeoGebra Institute