Blends the specified colors into a single color, using the specified percentages for each color.
'Declaration
Public Overloads Shared Function CombineRgbColors( _
ByVal As Color, _
ByVal As Decimal, _
ByVal As Color, _
ByVal As Decimal, _
ByVal As Color, _
ByVal As Decimal _
) As Color
public static Color CombineRgbColors(
Color ,
decimal ,
Color ,
decimal ,
Color ,
decimal
)
Parameters
- color1
- The first System.Drawing.Color to use.
- percent1
- The percentage of color1 to use.
- color2
- The second System.Drawing.Color to use.
- percent2
- The percentage of color2 to use.
- color3
- The third System.Drawing.Color to use.
- percent3
- The percentage of color3 to use.
Return Value
A color based on the specified parameters.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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