TextButton.BackgroundColor returns BrickColor

Hello, for some reason textbutton.BackgroundColor returns BrickColor, any idea why?

Solution!
try

textbutton.BackgroundColor3.Color3.fromRGB(0,0,0) - 0,0,0 put the rgb color numbers here!

2 Likes

just use the textbutton.BackgroundColor3 instead of textbutton.BackgroundColor to get the RGB value

2 Likes

Use BackgroundColor3.

TextButton.BackgroundColor3 = Color3.fromRBG(0,0,0)

This way, you can be more precise in the color. This also works with .fromHSV