Get Palette Colors

Description

Returns the colors of the current palette as a list of hex colors (str).

Usage

palette.colors(*args, **kwargs)

Arguments

*args
Ignored.
**kwargs
Ignored.

Return

list: List of all colors of the palette.

Examples

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