Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement
These functions are implemented in :GetRGBA FrameXML/Util.lua.

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?Optional. Could be nil. - Value between 0 and 1, or nil if it was undefined.

Patch changes[]

See also[]

References[]

 
  1. ^ 2016-07-19, Util.lua, version 7.0.3.22267, near line 621, archived at Townlong-Yak
Advertisement