Table of Contents

Method GenerateRandomLuminance

Namespace
Gamelogic.Colors
Assembly
Gamelogic.Colors.dll

GenerateRandomLuminance(int, float, float)

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

public static List<Color> GenerateRandomLuminance(int colorCount, float hue, float saturation)

Parameters

colorCount int

The number of colors to generate.

hue float

The hue of the colors.

saturation float

The saturation of the colors.

Returns

List<Color>

A list of generated colors.