# Class: Palette
A Palette defines 5 colors used for producing color scales.
# Hierarchy
- Palette
# Constructors
# constructor
+ new Palette(id: string, colors: [string, string, string, string, string]): Palette
Constructs a new instance of Palette.
# Parameters:
| Name | Type | Description |
|---|---|---|
id | string | Palette ID. |
colors | [string, string, string, string, string] | Array of CSS-format colors (color name, hex or color function). |
Returns: Palette
# Properties
# colors
• Readonly colors: [string, string, string, string, string]
Array of CSS-format colors (color name, hex or color function).
# id
• Readonly id: string
Palette ID.