No matter what I do, it prints 1, 1, 1 even though in the properties tab it shows that its 255, 255 ,255. I've tried Color3.fromRGB, tostring, tonumber, pretty much everything but it never prints its actual value. Can I have some help please?
print(Color3.fromRGB(game.StarterGui.Main.ColourPicker.Frame["Black/White"].White.BackgroundColor3))
> 0, 0, 0
print(game.StarterGui.Main.ColourPicker.Frame["Black/White"].White.BackgroundColor3)
> 1, 1, 1
print(tostring(game.StarterGui.Main.ColourPicker.Frame["Black/White"].White.BackgroundColor3))
> 1, 1, 1

7 comments
I believe this is a roblox error. Experienced the same thing a few months back. Let me know if you find something.
Damn it. I've got an exam tomorrow and I'm trying to fix an unfixable thing.
Divide by 255? I got the same glitch! I believe I did find a post that told me to divide 255 from x,y,z.... I would rather use brick colors though or at least hexadecimals.
actually, the color 3 thing is weird you do divide by 255 idk why but it will get you the right color (still prints 1,1,1) or some small number
multiply the print by 255 and it will print right
I’m assuming ROBLOX stores it always in a Color.new form, even with what you did with Color.fromRGB (Which isn’t good). If u have an exam on this sorta thing, explain that the Color.new value of 1,1,1 is the same as Color.fromRGB 255, 255, 255 on ROBLOX.
This is not an error, or particularly unique. Internally, a Color3's rgb values are always in range [0,1]. What you're entering in the property panel is actually a string, which is parsed and converted via Color3.fromRGB(). Something similar happens with Orientation, which takes degrees but will return values in Radians.