Difference between revisions of "Term.setTextColor"
From ComputerCraft Wiki
Line 9: | Line 9: | ||
|examples= | |examples= | ||
{{Example | {{Example | ||
− | |desc=Makes the words | + | |desc=Makes the words Hello World! green. |
+ | |code=term.setTextColor(colors.green)<br>print("Hello World!") | ||
}} | }} | ||
}} | }} |
Revision as of 15:20, 17 November 2012
Function Term.setTextColor | |
changes the color of your font (For common use add the decimal code of the color) | |
Syntax | Term.setTextColor(color code) |
Returns | None |
Part of | ComputerCraft |
API | term |
Examples
Example | |
Makes the words Hello World! green. | |
Code |
term.setTextColor(colors.green) |