WoW:API ColorSelect GetColorRGB: Difference between revisions
Jump to navigation
Jump to search
(Updated to match the current API boilerplate.) |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{widgetmethod}} | {{widgetmethod}} | ||
Returns the RGB values of the currently selected color. | Returns the RGB values of the currently selected color. | ||
local r, g, b = ColorSelect:GetColorRGB() | |||
== Arguments == | == Parameters == | ||
=== Arguments === | |||
: none | |||
=== Returns === | |||
== Returns == | * 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 05:36, 13 February 2021
← Widget API ← ColorSelect < GetColorRGB
Returns the RGB values of the currently selected color.
local r, g, b = ColorSelect:GetColorRGB()
Parameters
Arguments
- none
Returns
- r (number) - The red value of the color
- g (number) - The green value of the color
- b (number) - The blue value of the color