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?
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?
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!
you can also use Color3.fromHSV to change the tint and hue.
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.
2 comments
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).
yeah either you divide your numbers by 255 (255/255, 205/255,148/255) or Color3.fromRGB(255,205,148)