Garry's Mod Wiki

Panel:SetFGColorEx

  Panel:SetFGColorEx( number r, number g, number b, number a )

Description

This is used internally - although you're able to use it you probably shouldn't.

Sets the foreground color of the panel.

For labels, this is the color of their text.

Arguments

1 number r
The red channel of the color.
2 number g
The green channel of the color.
3 number b
The blue channel of the color.
4 number a
The alpha channel of the color.