- These functions are implemented in
.:GetRGBA FrameXML/Util.lua
- These functions are implemented in
Returns the properties of a ColorMixin.
r, g, b [, a] = color:GetRGBA() r, g, b = color:GetRGB()
Returns[]
- r, g, b
- number - Values between 0 and 1.
- a
- number? - Value between 0 and 1, or nil if it was undefined.
Patch changes[]
- Patch 7.0.3 (2016-07-19): Added.[1]
See also[]
- ColorMixin:SetRGBA(r, g, b [, a]) - Changes the properties to new values.
- ColorMixin:GetRGBAAsBytes() - Multiplies the return values by 255.
References[]
- ^ 2016-07-19, Util.lua, version 7.0.3.22267, near line 621, archived at Townlong-Yak