PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. Instead, you should go to our new and improved documentation. You can also learn more about the future of documentation.
Collapse Sidebar

Color

UIGradient

ColorSequence

The Color of a UIGradient describes the color to blend with the parent UI element along the provided datatype/ColorSequence. This property works in a similar manner to Beam/Color or Trail/Color, except that it applies over an on-screen distance determined by the UIGradient/Offset|Offset and UIGradient/Rotation|Rotation of the UIGradient. The image below shows the linear interpolation of four color values:

How the UIGradient Color ColorSequence applies color to a GuiObject

See Also

  • articles/Applying UIGradients, for more information on creating UIGradient objects and how they work.