PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
Collapse Sidebar

BackgroundColor3

GuiObject

Color3

This property determines the color of a GuiObject|UI background (the fill color).

Another property that determines the visual properties of the background is GuiObject/BackgroundTransparency. If an element’s BackgroundTransparency is set to 1, neither the background nor the border will render and the element will be transparent.

If your element contains text, such as a TextBox, TextButton, or TextLabel, make sure the color of your background contrasts the text’s color.

See also

  • GuiObject/BorderColor3


Code Samples


Rainbow Frame

This code sample causes a parent Frame to loop through all colors of the rainbow using Color3.fromHSV.