Difference between revisions of "Term.setBackgroundColor"
From ComputerCraft Wiki
Line 10: | Line 10: | ||
{{Example | {{Example | ||
|desc=Makes the background of the monitor grey | |desc=Makes the background of the monitor grey | ||
− | |code=term.setBackgroundColor(colors. | + | |code=term.setBackgroundColor(colors.gray) |
}} | }} | ||
}} | }} |
Revision as of 05:01, 26 November 2012
![]() | |
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
![]() | |
Makes the background of the monitor grey | |
Code |
term.setBackgroundColor(colors.gray) |