Table of Contents

Method GenerateRandomSaturation

Namespace
Gamelogic.Colors
Assembly
Gamelogic.Colors.dll

GenerateRandomSaturation(int, float, float)

Generates a list of colours with given hue, random saturation and given luminance.

public static List<Color> GenerateRandomSaturation(int colorCount, float hue, float luminance)

Parameters

colorCount int

The number of colors to generate.

hue float

The hue of the colors.

luminance float

The luminance of the colors.

Returns

List<Color>

A list of generated colors.