from colorspace import palette
= palette(["#11C638", "#E2E2E2", "#EF9708"],
pal = "My Custom Palette")
name pal.colors()
['#11C638', '#E2E2E2', '#EF9708']
Documentation built with Python 3.11.10
, pyp2qmd 0.1.1
and quarto 1.5.57
on GitHub.
Returns the colors of the current palette as a list of hex colors (str
).
palette.colors(*args, **kwargs)
*args
**kwargs
list
: List of all colors of the palette.