Difference between revisions of "Term.setTextColor"
From ComputerCraft Wiki
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
{{Function | {{Function | ||
− | |name= | + | |name=term.setTextColor |
|args= [[Colors#Colors|color]] code | |args= [[Colors#Colors|color]] code | ||
|returns=None | |returns=None |
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) |