WoW:API ColorSelect GetColorRGB: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
({{widgetmethod}})
Line 1: Line 1:
{{widgetmethod}}
{{stub/api}}
Returns three values: the r, g, and b values of the currently selected color in the ColorSelect frame.
Returns three values: the r, g, and b values of the currently selected color in the ColorSelect frame.


Example:
Example:


local r, g, b = ColorPicker:GetColorRGB();
  local r, g, b = ColorPicker:GetColorRGB();
 
{{API/Uncategorized}}

Revision as of 11:49, 10 June 2006

Widget API ← ColorSelect < GetColorRGB

Template:Stub/api

Returns three values: the r, g, and b values of the currently selected color in the ColorSelect frame.

Example:

 local r, g, b = ColorPicker:GetColorRGB();