Yep, it needs to be said. Color3s are not RGBs.
I posted this in the tutorials section, because I am going to further explain what I mean.
Color3s, The Basics.
Color3.new(200,0,100) should give you a purplish color, right? No. Color3s and RGBs are not the same thing. Color3s are ROBLOX's own way of making colors. Color3 values need to be between 0 and 1. This often confuses scripters who try to use Color3s.
But you want an RGB value in your game. You got the color, and you know the RGB values. But how do you put the color into your game? Roblox has something made just for this! It's called fromRGB.
Color3.fromRGB(200,0,100) will indeed get you that purplish color you want. Lets say you want to use new instead of fromRGB (idk why), then you could divide all the values by 255 to get the Color3 to work. But why do
Color3.new(200/255,0,100/255) when fromRGB does that for you?
In this example I am going to make a Part's Color property change into that purplish color we were talking about.
local part = Instance.new("Part") part.Color = Color3.fromRGB(200,0,100) part.Parent = workspace
I hope this short tutorial helped you guys to understand a little bit how Color3s work, and how Color3s and RGBs are two different things.