Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why is this working? The colour doesnt change, it just turns white. [Solved]

Asked by 7 years ago
Edited by OldPalHappy 7 years ago

It is going into a regular script and it is obviously for a GUI:

script.Parent.home.BackgroundColor3 = Color3.new(106,178,255)

I am new to scripting and I was told this would change the colour of my text box named home, it just turns white.

This is just part of the script!

0
Try Color3.fromRGB(106,178,255) Mayk728 855 — 7y
0
Thank you so much it works now. TremendousToby -18 — 7y
0
Color3.new uses the range of 0~1 not 0~255. If you needed to use this constructor you would / 255 to get the range 0~1 User#5423 17 — 7y

Answer this question