fog_color Command


fog_color [R] [G] [B]

This command sets the color of fog, if enabled. The value provided should be an RGB value (separated by spaces).

Arguments


Arguments are parameters that you add to a command. Find information about this command's arguments below.

RThe red value of your desired RGB color code.
GThe green value of your desired RGB color code.
BThe blue value of your desired RGB color code.

Extra Info

Sv_cheats Required? Yes
Client or Server Command? Client
Default Value -1

fog_color Examples


Find below working examples of this command (copy and paste into console).


fog_color 255 0 255

This command would set the fog color (if fog is enabled) to the RBG value 255 0 255, which is purple.