# Exemplarily for rainbow_hcl (works for the
# other HCL palettes as well)
from colorspace import rainbow_hcl
a = rainbow_hcl()
a.get("h1")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_hcl.get(key)
keystr
None if key does ont exist, else the current value will be returned.