FANDOM


 
m (catfix, Replaced: {{widgetmethod}}<br> → {{widgetmethod}})
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Returns three values: the r, g, and b values of the currently selected color in the ColorSelect frame.
+
{{widgetmethod}} __NOTOC__
  +
  +
Returns the RGB values of the currently selected color.
  +
r, g, b = ColorSelect: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

Latest revision as of 23:53, July 14, 2008

Widget API ← ColorSelect < GetColorRGB

Returns the RGB values of the currently selected color.

r, g, b = ColorSelect:GetColorRGB()


Arguments Edit

None


Returns Edit

r, g, b
Number - The red value of the color
Number - The green value of the color
Number - The blue value of the color
Community content is available under CC-BY-SA unless otherwise noted.