Garry's Mod Wiki

Panel:GetFGColor

  Color 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 Color color
The Color.