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

Can someone help me with Color3? I don't understand

local button = script.Parent.ImageButton
button.MouseEnter:connect(function(enter)
	button.ImageColor3 = Color3.new(103, 51, 0)-- Help me here can you tell me a system to find out how to make this color into a color3 form?
	
end)

button.MouseLeave:connect(function(leave)
	button.ImageColor3 = Color3.new(170, 85, 0)-- Same with this
end)

I looked up friazas explanation of this but it makes no sense something like divide by 50 its weird, please help me.

1 answer

✓ Accepted answer

Well, the three numbers stand for (r,g,b) If you want to look up what they look like, go to http://www.colorschemer.com/online.html Put in the numbers on the left side.

6 comments

0

it doesn't show the decimals

0

What do you mean?

0

using color3 in a a script the color is between 0 to1

0

Oh, divide them all by 255 like (103/255,51/255,0/255)

0

thanks i seen that on wiki

0

Give me a reputation point if I helped you!

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