Difference between revisions of "Term.setTextColor"
From ComputerCraft Wiki
m (Moved to CAT:APIFunctions) |
|||
| Line 13: | Line 13: | ||
}} | }} | ||
}} | }} | ||
| + | |||
| + | [[Category:API_Functions]] | ||
Revision as of 18:41, 28 November 2012
| Changes the foreground 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.setTextColor(color code) |
| Returns | None |
| Part of | ComputerCraft |
| API | term |
Examples
| Makes the words Hello World! green. | |
| Code |
term.setTextColor(colors.green) |