function
Source: index.ts ↗
colorPaletteToColors()
Returns a list of RGB color codes for all items in the provided color palette.
export declare function colorPaletteToColors(palette: IColorPalette): string[];
Parameters
Parameter | Type | Description |
|---|---|---|
palette | color palette |
Returns
string[]
list with the same cardinality as the color palette. RGB colors appear in the same order in which they appear in the palette