Widget API: ColorSelect:GetColorRGB

From AddOn Studio
Jump to navigation Jump to search

Widget API ← ColorSelect < GetColorRGB

Returns the RGB values of the currently selected color.

local r, g, b = ColorSelect:GetColorRGB()

Parameters[edit]

Arguments[edit]

none

Returns[edit]

  • r (number) - The red value of the color
  • g (number) - The green value of the color
  • b (number) - The blue value of the color