Changing fog color

Hello, i want to know if you can change the fog color by script.

Ok, i got it. Unity - Scripting API: RenderSettings.fog