from colorspace import palette
# Unnamed palette
= palette(["#11C638", "#E2E2E2", "#EF9708"])
pal pal.name()
Get Palette Name
WARNING(long_description missing)
Usage
palette.name()
Return
Returns None
if the palette is unnamed, else the name of the palette as str
.
Examples
type(pal.name())
NoneType
# Named palette
= palette(["#11C638", "#E2E2E2", "#EF9708"],
pal = "My Custom Palette")
name pal.name()
'My Custom Palette'