from colorspace import polarLUV, HCL
# Constructing color object with one single color via float
100., 30, 50.) polarLUV(
polarLUV color object (1 colors)
H C L
1: 100.00 30.00 50.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 polar representation of the CIELUV color space, also known as the Hue-Chroma-Luminance (HCL) color space. Can be converted to: CIEXYZ, CIELUV, CIELAB, RGB, sRGB, polarLAB, and hexcols. Not allowed (ambiguous) are transformations to HSV and HLS.
polarLUV(H, C, L, alpha=None)
H
int, float, list, numpy.array
[-360., 360.]
).
C
int, float, list, numpy.array
[0., 100.+]
).
L
int, float, list, numpy.array
[0., 100.]
).
alpha
None, float, list, numpy.array
[0., 1.]
) where 0.
equals full transparency, 1.
full opacity. If None
(default) no transparency is added.
polarLUV.colors(fixup=True, rev=False)
polarLUV.dropalpha()
polarLUV.get(dimname=None)
polarLUV.get_whitepoint()
polarLUV.hasalpha()
polarLUV.hclplot(**kwargs)
polarLUV.length()
polarLUV.set(**kwargs)
polarLUV.set_whitepoint(**kwargs)
polarLUV.specplot(**kwargs)
polarLUV.swatchplot(**kwargs)
polarLUV.to(to, fixup=True)
from colorspace import polarLUV, HCL
# Constructing color object with one single color via float
polarLUV(100., 30, 50.)
polarLUV color object (1 colors)
H C L
1: 100.00 30.00 50.00
polarLUV color object (1 colors)
H C L
1: 100.00 30.00 50.00
polarLUV color object (2 colors)
H C L
1: 100.00 30.00 30.00
80.00 50.00 80.00