Table of Contents

Method GenerateRandomMix

Namespace
Gamelogic.Colors
Assembly
Gamelogic.Colors.dll

GenerateRandomMix(int, Color, Color, Color, float, ColorSpace)

Generates a list of colors that are a random mix of the given colors.

public static List<Color> GenerateRandomMix(int colorCount, Color color1, Color color2, Color color3, float greyControl, ColorSpace mixMode)

Parameters

colorCount int

The number of colors to generate.

color1 Color

The first color to mix.

color2 Color

The second color to mix.

color3 Color

The third color to mix.

greyControl float

The amount of grey to mix in.

mixMode ColorSpace

The color space to mix in.

Returns

List<Color>