Difference between revisions of "Term.setTextColor"
From ComputerCraft Wiki
Line 2: | Line 2: | ||
{{Function | {{Function | ||
|name=Term.setTextColor | |name=Term.setTextColor | ||
− | |args= [ | + | |args= [[Colors#Colors|color]] code |
|returns=None | |returns=None | ||
|api=term | |api=term |
Revision as of 23:58, 30 October 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! grey | |
Code |
Term.SetTextcolor(128) |