colorPaletteToColors()
Home > @gooddata/sdk-model > colorPaletteToColors
colorPaletteToColors() function
Returns a list of RGB color codes for all items in the provided color palette.
Signature:
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