Visual Basic (Declaration)
C#
Parameters
- color1
- The first color.
- color2
- The second color.
- value
- A value in the range from 0 to 1 specifying a proportion to mix colors with.
Return Value
Mixed color.Channels of colors are mixed by the formula:
mixedColor.X = color1.X*(1-value) + color2.X*value.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family