TextColor3 (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>GoldenUrg
fixed name
>Mattchewy
Fixing multiple objects
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{|
<onlyinclude>{{Property
|<onlyinclude>{{Property|
|name = TextColor3
name = TextColor3
|property = [[Color3]] ''text color''
|property = [[Color3]] ''text color''
|description = Sets the color of text.
|description = Sets the color of text.
|object = [[RBX.lua.TextButton (Object)|TextButton]]
|objects = [[TextButton]], [[TextLabel]], [[TextBox]]
|}}</onlyinclude>
}}</onlyinclude>
|}
 
{{clear floats}}
 
{{Example|The text color will result in white.<pre>
Instance.new('TextLabel', script.Parent).TextColor3 = Color3.new(1, 1, 1)
</pre>}}
 
[[Category:Properties]]

Latest revision as of 02:39, 23 January 2011

TextColor3
Property Color3 text color
Description Sets the color of text.
Member of TextButton, TextLabel, TextBox


Example
The text color will result in white.
Instance.new('TextLabel', script.Parent).TextColor3 = Color3.new(1, 1, 1)