Get RGB from BackgroundColor3

I want to get the RGB value from a backgroundColor3 right now its displaying the color values from 0 to 1 but I need it to be from 0 to 255 How would I do this?

local Color = script.Parent.BackgroundColor3
print(Color.R * 255, Color.G * 255, Color.B * 255)

May need to use math.floor() to round numbers.

1 Like