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

BackgroundColor3 coming back with tiny numbers?

I'm creating a color wheel for my game, and that color wheel changes a frame's BackgroundColor3. But when I want to change anything it brings back this number.

https://gyazo.com/1bb3c51aab0b2a193bd90d79bd67d57c

Any support?

script.Parent.MouseButton1Click:Connect(function()
		game.ReplicatedStorage._ChangeBackgroundColor:FireServer(tostring(script.Parent.Parent["Colour Selector"].Colour.BackgroundColor3))
end)

2 comments

0

Use colorffomHSV rather than backgroundcolor

0

That's a bit tedious for such a thing don't you think, though?

1 answer

✓ Accepted answer

The color you might be picking must be in a Color3.new format. To convert it to Color3.RGB, you can multiply its values by 255.

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