# SetFogColor

## Description

Sets the 3D fog color. Objects will gradually fade to this color as they get further from the camera. Color values should be in the range 0 to 255, but they are not limited to this and the system will accept out of range values, including negative.

## Definition

SetFogColor( red, green, blue )

void agk::SetFogColor( int red, int green, int blue )

## Parameters

- red - The red component of the color.
- green - The green component of the color.
- blue - The blue component of the color.