Color.from_hls
- classmethod Color.from_hls(h, l, s)
Construct a color from Hue, Luminance, and Saturation.
- Parameters
h (float) – Hue.
l (float) – Luminance.
s (float) – Saturation.
- Returns
See also
https
//en.wikipedia.org/wiki/HSL_and_HSV
Construct a color from Hue, Luminance, and Saturation.
h (float) – Hue.
l (float) – Luminance.
s (float) – Saturation.
See also
https
//en.wikipedia.org/wiki/HSL_and_HSV
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev