Widget API ← ColorSelect < SetColorRGB

Sets a color as the selected color in a ColorSelect frame.

ColorSelect:SetColorRGB(r, g, b)

Arguments 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

Returns Edit


Details Edit

Typically called during initialization and just prior to Show().
Community content is available under CC-BY-SA unless otherwise noted.