Garry's Mod Wiki

DColorButton:SetColor

  DColorButton:SetColor( table color, boolean noTooltip = false )

Description

Sets the color of the DColorButton.

Arguments

1 table color
A Color to set the color as
2 boolean noTooltip = false
If true, the tooltip will not be reset to display the selected color.