Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

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

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?

2 comments

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).

0

yeah either you divide your numbers by 255 (255/255, 205/255,148/255) or Color3.fromRGB(255,205,148)

1 answer

✓ Accepted answer

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 to Color3.fromRGB.

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

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

2 comments

0

you can also use Color3.fromHSV to change the tint and hue.

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.

This discussion is preserved as it was. New answers, comments, and votes are closed.