from colorspace import CIELUV
# Constructing color object with one single color via float
0, 10, 10) CIELUV(
CIELUV color object (1 colors)
L U V
1: 0.00 10.00 10.00
Documentation built with Python 3.11.10
, pyp2qmd 0.1.1
and quarto 1.5.57
on GitHub.
Creates a color object in the CIELUV color space. Can be converted to: CIEXYZ, CIELUV, CIELAB, RGB, sRGB, polarLAB, and hexcols. Not allowed (ambiguous) are transformations to HSV and HLS.
CIELUV(L, U, V, alpha=None)
L
int, float, list, numpy.array
U
int, float, list, numpy.array
V
int, float, list, numpy.array
alpha
None, float, list, numpy.array
[0., 1.]
) where 0.
equals full transparency, 1.
full opacity. If None
(default) no transparency is added.
CIELUV.colors(fixup=True, rev=False)
CIELUV.dropalpha()
CIELUV.get(dimname=None)
CIELUV.get_whitepoint()
CIELUV.hasalpha()
CIELUV.hclplot(**kwargs)
CIELUV.length()
CIELUV.set(**kwargs)
CIELUV.set_whitepoint(**kwargs)
CIELUV.specplot(**kwargs)
CIELUV.swatchplot(**kwargs)
CIELUV.to(to, fixup=True)
from colorspace import CIELUV
# Constructing color object with one single color via float
CIELUV(0, 10, 10)
CIELUV color object (1 colors)
L U V
1: 0.00 10.00 10.00
CIELUV color object (2 colors)
L U V
1: 10.00 20.00 100.00
30.00 80.00 40.00