# Exemplarily for rainbow_hcl (works for the
# other HCL palettes as well)
from colorspace import rainbow_hcl
= rainbow_hcl()
a "h1") a.get(
0
Documentation built with Python 3.11.10
, pyp2qmd 0.1.1
and quarto 1.5.57
on GitHub.
Returns one specific item of the palette settings, e.g., the current value for h1
or l2
. If not existing a None
will be returned.
rainbow.get(key)
key
str
None if key
does ont exist, else the current value will be returned.