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

from colorspace import palette
# Unnamed palette
pal = palette(["#11C638", "#E2E2E2", "#EF9708"])
pal.name()
type(pal.name())
NoneType
# Named palette
pal = palette(["#11C638", "#E2E2E2", "#EF9708"],
              name = "My Custom Palette")
pal.name()
'My Custom Palette'