Method RandomMix
RandomMix(Color, Color, Color, float, ColorSpace)
Generates a color that is a random mix of the given colors.
public static Color RandomMix(Color color1, Color color2, Color color3, float greyControl, ColorSpace mixMode)
Parameters
color1
ColorThe first color to mix.
color2
ColorThe second color to mix.
color3
ColorThe third color to mix.
greyControl
floatControls how likely the color will contains fair amounts of each color (tending to make it grey).
mixMode
ColorSpaceThe color space to mix in.
Returns
- Color
The generated color.