Widget/API/GetColor

__NOTOC__
Retrieves the RGB color currently set on a UI class element.
red,green,blue = MyUIObject:GetColor();
== Parameters ==
=== Arguments ===
:;None
=== Returns ===
:;red
::number - Red component color
:;green
::number - Green component color
:;blue
::number - Blue component color
== Example ==
r,g,b=texture:GetColor();
== Notes ==
RGB component color values should be between 0 and 1, where 1,1,1 == white and 0,0,0 == black.
== Related Pages==
*Widget (Overview)
Category:Widget/API Category:Widget/Class/Layout