These commands change the background colour of the experiment window. The values are numbers from 0 to 255, provided in the order red, green, blue. 0 indicates the darkest setting and 255 indicates the lightest setting. Some common value sets for colours are:
(0,0,0) | black |
(255,255,255) | white |
(64,64,64) | dark grey |
(128,128,128) | mid grey |
(192,192,192) | light grey |
(64,0,0) | dark red |
(255,0,0) | deep red |
(255,192,192) | pink |
(0,255,0) | deep green |
(0,0,255) | deep blue |
background (value,value,value)
Changes the background colour of the experiment window to the provided colour. Each value can be either a fixed number or a variable.
background (50,150,200)
background ($varBrightness,$varBrightness,$varBrightness)
background black
background white
background grey
These commands are provided so you don't have to keep looking up commonly used colours. Black is the darkest black possible (0,0,0). White is the brightest white possible (255,255,255). Grey is half way between those two extremes.
None.