Color3.new() can be either RGB or HSV and i think its a bug. I dont recommend using Color3.new() because they take the same argument and confuses script what to use
Color3.new() parameters range from values inbetween 0-1. There are multiple ways to fix this, to convert it into RGB format you could divide each of the values by 255 such as the following:
Edit: Sorry for some duplicate information, I was gathering resources in the time span while other responses were made. I’ve also corrected an error in the line of code.
But that’s not Color3.new. That’s Color3.fromRGB and Color3.fromHSV. Just because they all use three numbers is no reason to avoid them. It’s a good reason to learn to read documentation though.
What you’re saying is not exactly true. Color3.new() and Color3.fromHSV are expecting numbers in the range of [0,1] and Color3.fromRGB expects a range of [0,255].
By this I believe you meant Color3 and not Color3.new(). Color3 by default expects you to use value ranges of [0,1] but Color3.fromRGB() is added to do the math that will convert the [0,255] color range to fit into a [0,1] range. The whole API reference on Color3 is linked below.