Difference between revisions of "Term.setTextColor"

From ComputerCraft Wiki
Jump to: navigation, search
Line 2: Line 2:
 
{{Function
 
{{Function
 
|name=Term.setTextColor
 
|name=Term.setTextColor
|args= [http://computercraft.info/wiki/index.php?title=Colors#Colors color] code
+
|args= [[Colors#Colors|color]] code
 
|returns=None
 
|returns=None
 
|api=term
 
|api=term

Revision as of 23:58, 30 October 2012


Grid Redstone.png  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

Grid paper.png  Example
Makes the words hello world! grey
Code
Term.SetTextcolor(128)
print("Hello World!")