Click or drag to resize

ColorRangemixedColor Method

Get the mix between two colors.

Namespace:  Karamba.Utilities
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntax
public static Color mixedColor(
	Color c1,
	Color c2,
	double p
)

Parameters

c1
Type: System.DrawingColor
first color.
c2
Type: System.DrawingColor
second color.
p
Type: SystemDouble
mixing parameter: 0...first color; 1...second color.

Return Value

Type: Color
Mixed color.
See Also