from colorspace import sRGB, hexcols, HCL
# Examples for three different color objects
= sRGB([1, 0], [1, 1], [0, 0])
x1 len(x1)] [x1.length(),
[2, 2]
Documentation built with Python 3.11.10
, pyp2qmd 0.1.1
and quarto 1.5.57
on GitHub.
Returns the number of colors defined in this color object. Note that len(<object>)
works as well.
CIEXYZ.length()
int
: Number of colors.