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
color1ColorThe first color to mix.
color2ColorThe second color to mix.
color3ColorThe third color to mix.
greyControlfloatControls how likely the color will contains fair amounts of each color (tending to make it grey).
mixModeColorSpaceThe color space to mix in.
Returns
- Color
The generated color.