Table of Contents

Method GenerateRandomHue

Namespace
Gamelogic.Colors
Assembly
Gamelogic.Colors.dll

GenerateRandomHue(int, float, float)

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

public static List<Color> GenerateRandomHue(int colorCount, float saturation, float luminance)

Parameters

colorCount int

The number of colors to generate.

saturation float

The saturation of the colors.

luminance float

The luminance of the colors.

Returns

List<Color>

A list of generated colors.