Not a premium member yet? Save 100's of hours on lesson prep with a comprehensive library of GCSE Computer Science resources - including worksheets, tests, and PowerPoint presentations.
Download the complete GCSE Computer Science bundle including all teacher resources and student revision:
- 200+ Computer Science/ICT resources
+ any we release in the future!
- Access to all student revision notes
- OCR, AQA, Edexcel and WJEC compatible
- New 9-1 GCSE spec
Text Window colours:
TextWindow.ForegroundColor = "Magenta" or TextWindow.BackgroundColor = 13
- 0 Black
- 1 DarkBlue
- 2 DarkGreen
- 3 DarkCyan
- 4 DarkRed
- 5 DarkMagenta
- 6 DarkYellow
- 7 Gray
- 8 DarkGray
- 9 Blue
- 10 Green
- 11 Cyan
- 12 Red
- 13 Magenta
- 14 Yellow
- 15 White
Graphics Window colours:
GraphicsWindow.BackgroundColor = "Magenta"
Note: numbers cannot be used to assign colours in the graphics window directly, the names of the colours would need to be stored in a numerically indexed array. A full list of all the colour names can be founds in the Small Basic tutorial.
GraphicsWindow.BackgroundColor = GraphicsWindow.GetRandomColor() can be used to assign a random colour.