from colorspace import qualitative_hcl, rainbow_hcl
"Dark 3").colors() qualitative_hcl(
['#E16A86',
'#D17B44',
'#B28D00',
'#829C00',
'#20A73C',
'#00AD7F',
'#00ABB2',
'#00A0D6',
'#7B8AE6',
'#C071DC',
'#DE63B9']
Documentation built with Python 3.11.10
, pyp2qmd 0.1.1
and quarto 1.5.57
on GitHub.
Returns the colors of the current color palette.
rainbow_hcl.colors(n=11, fixup=None, alpha=None,
**kwargs)
n
int
fixup
None, bool
None
the fixup
parameter from the object will be used. Can be set to True
or False
to explicitly control the fixup here.
alpha
None, float, list, or numpy.ndarray
n
and be convertible to float, providing values between 0.0
(full opacity) and 1.0
(full transparency)
**kwargs
rev = True
to reverse the colors.
list
: Returns a list of str with n
colors from the color palette.
['#E16A86',
'#D17B44',
'#B28D00',
'#829C00',
'#20A73C',
'#00AD7F',
'#00ABB2',
'#00A0D6',
'#7B8AE6',
'#C071DC',
'#DE63B9']
['#E16A864D', '#AA90004D', '#00AA5A4D', '#00A6CA4D', '#B675E04D']
['#E16A8633', '#50A315CC', '#009ADE4D']