The From color
The Two color
The ratio of the two colors to mix
Lerp(Color,Color,Single) Method
Linearly interpolates between two colors based on the ratio passed in. E.g. Ratio = 0.0f returns From color, ratio = 1.0f returns To Color. Ratio = 0.5f returns a mix of the two
Syntax
public static Color Lerp( 
   Color from,
   Color to,
   float ratio
)

Parameters

from
The From color
to
The Two color
ratio
The ratio of the two colors to mix

Return Value

A new color formed by (ratio * from) + ((1.0-ratio) * to)
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also