|
| 31 Jul 2012 10:10 AM |
How do I change the color of a GUI to white?
I'm creating a textbutton:
tb = Instance.new("TextButton") tb.Parent = person.PartyChat.BeingInvited tb.Size = UDim2.new(0,160,0,40) tb.BackgroundColor3 = Color3.new(?,?,?)
Apparently Color3 = 0-1 but I don't understand the corolation... |
|
|
| Report Abuse |
|
|
|
| 31 Jul 2012 10:11 AM |
Just use the numbers you wanted, only divide it by 255.
† KMXD † ~ Evil Duck Overlord, bent on world domination. |
|
|
| Report Abuse |
|
|
|
| 31 Jul 2012 10:11 AM |
| tb.BackgroundColor3 = Color3.new(255/255,255/255,255/255) |
|
|
| Report Abuse |
|
|
| |
|
|
| 31 Jul 2012 11:32 AM |
function Color(r,g,b) return Color3.new(r/255,g/255,b/255); end
GUI.BackgroundColor3 = Color(25,50,75) |
|
|
| Report Abuse |
|
|