Algosim documentation: GetHSL

GetHSL

Returns the HSL coordinates of a colour.

Syntax

Description

If c is a colour, then GetHSL(c) returns a structure with the HSL components of c.

Examples

GetHSL("gold")
hue: 50.5882352941
saturation: 1
lightness: 0.5

See also