Widget API: ColorSelect:GetColorRGB
← Widget API ← ColorSelect < GetColorRGB
Returns the RGB values of the currently selected color.
local r, g, b = ColorSelect:GetColorRGB()
ParametersEdit
ArgumentsEdit
- none
ReturnsEdit
- r (number) - The red value of the color
- g (number) - The green value of the color
- b (number) - The blue value of the color