WoW:API ColorSelect GetColorRGB: Difference between revisions

Updated to match the current API boilerplate.
({{widgetmethod}})
(Updated to match the current API boilerplate.)
Line 1: Line 1:
{{widgetmethod}}
{{widgetmethod}} __NOTOC__
{{stub/api}}


Returns three values: the r, g, and b values of the currently selected color in the ColorSelect frame.
Returns the RGB values of the currently selected color.
r, g, b = ColorSelect:GetColorRGB()


Example:


  local r, g, b = ColorPicker:GetColorRGB();
== Arguments ==
None
 
 
== Returns ==
:r, g, b
:; r : Number - The red value of the color
:; g : Number - The green value of the color
:; b : Number - The blue value of the color
Anonymous user