Garry's Mod Wiki

Garry's Mod Wiki

Description

Returns the color currently set on the color picker.

Returns

1 table
The color set on the color picker, see Color.

Example

Prints out the default set color.

local color_picker = vgui.Create("DRGBPicker") color_picker:SetSize(25, 150) color_picker:Center() print(color_picker:GetRGB())
Output:
255 255 255 255

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...