Get Palette Name

Description

Get name (generic) of color palette.

Usage

rainbow_hcl.name()

Return

str: Returns the name of the palette.

Examples

from colorspace import *
pal1 = diverging_hcl()
pal1.name()
'Diverging HCL'
pal2 = sequential_hcl("ag_Sunset")
pal2.name()
'Sequential HCL'
pal3 = heat_hcl()
pal3.name()
'Heat HCL'
pal4 = sequential_hcl("Rocket")
pal4.name()
'Sequential HCL'