Table of Contents

Method HueToChannel

Namespace
DocWright.Core.Primitives
Assembly
DocWright.Core.dll

HueToChannel(double, double, double)

One channel of an HSL colour (the standard hue-to-RGB step).

public static double HueToChannel(double p, double q, double t)

Parameters

p double

The lower bound.

q double

The upper bound.

t double

The hue, shifted for the channel.

Returns

double

The channel, 0 to 1.