WoW:API ColorSelect GetColorRGB: Difference between revisions
Jump to navigation
Jump to search
({{widgetmethod}}) |
(Updated to match the current API boilerplate.) |
||
| Line 1: | Line 1: | ||
{{widgetmethod}} | {{widgetmethod}} __NOTOC__ | ||
Returns | 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 | |||
Revision as of 15:11, 27 June 2007
← Widget API ← ColorSelect < GetColorRGB
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