Difference between revisions of "Term.setBackgroundColor"
From ComputerCraft Wiki
Line 6: | Line 6: | ||
|api=term | |api=term | ||
|addon=ComputerCraft | |addon=ComputerCraft | ||
− | |desc= | + | |desc=Changes the background color of text subsequently written to the screen. For ease of use, it is best to use the color codes provided in the colors API. |
|examples= | |examples= | ||
{{Example | {{Example |
Revision as of 09:31, 24 November 2012
Function term.setBackgroundColor | |
Changes the background color of text subsequently written to the screen. For ease of use, it is best to use the color codes provided in the colors API. | |
Syntax | term.setBackgroundColor(color code) |
Returns | None |
Part of | ComputerCraft |
API | term |
Examples
Example | |
Makes the background of the monitor grey | |
Code |
term.setBackgroundColor(colors.grey) |