FANDOM


Line 1: Line 1:
  +
{{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}}
+
----
  +
{{WoW API}}

Revision as of 22:49, May 23, 2006

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();

Template:WoW API

Community content is available under CC-BY-SA unless otherwise noted.