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

Why when I try to change color3 it just makes the decal tint grey?

Asked by 5 years ago

I'm just trying to change the color3 value of a decal using

face.Color3 = Color3.new(255, 205, 148)

But when I test it the decal just turns grey. How can I fix this?

0
Color3.new requires numbers between 0 and 1 so you need to divide everything by 255. Alternatively, you can use Color3.fromRGB(r,g,b). Rheines 661 — 5y
0
yeah either you divide your numbers by 255 (255/255, 205/255,148/255) or Color3.fromRGB(255,205,148) tonyv537 95 — 5y

1 answer

Log in to vote
1
Answered by 5 years ago

Ok, ok. I see the problem. It is very easy to fix. See, you are changing the color wrong. You are putting color3.new when you need to be putting color3.fromRGB. All you have to do is change Color3.new toColor3.fromRGB.

face.Color3 = Color3.fromRGB(255, 205, 148)

I actually ran into this problem once. I hope this fixed your problem!

0
you can also use Color3.fromHSV to change the tint and hue. RetroGalacticGamer 331 — 5y
0
thanks for accepting my answer man it helps me a lot when people do that for me and I hope this answer helped you too. RetroGalacticGamer 331 — 5y
Ad

Answer this question