From Garry's Mod
Fades panels color to specified one. It won't work unless panel has SetColor function.
The color to fade to
Length of the animation
Delay before start fading
Function to execute when finished