Garry's Mod Wiki

Panel:GetFGColor

  table Panel:GetFGColor()

Description

Returns the foreground color of the panel.

For a Label or RichText, this is the color of its text.

This doesn't apply to all VGUI elements (such as DLabel) and its function varies between them

Returns

1 table color
A color structure. See Color