---
id: fast-colors.colorpalette
title: ColorPalette class
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-colors](./fast-colors.md) &gt; [ColorPalette](./fast-colors.colorpalette.md)

## ColorPalette class

Generates a color palette

<b>Signature:</b>

```typescript
export declare class ColorPalette 
```

## Constructors

|  Constructor | Modifiers | Description |
|  --- | --- | --- |
|  [(constructor)(config)](./fast-colors.colorpalette._constructor_.md) |  | Constructs a new instance of the <code>ColorPalette</code> class |

## Properties

|  Property | Modifiers | Type | Description |
|  --- | --- | --- | --- |
|  [defaultPaletteConfig](./fast-colors.colorpalette.defaultpaletteconfig.md) | <code>static</code> | [ColorPaletteConfig](./fast-colors.colorpaletteconfig.md) |  |
|  [greyscalePaletteConfig](./fast-colors.colorpalette.greyscalepaletteconfig.md) | <code>static</code> | [ColorPaletteConfig](./fast-colors.colorpaletteconfig.md) |  |
|  [palette](./fast-colors.colorpalette.palette.md) |  | [ColorRGBA64](./fast-colors.colorrgba64.md)<!-- -->\[\] |  |

## Methods

|  Method | Modifiers | Description |
|  --- | --- | --- |
|  [generatePaletteColorScale()](./fast-colors.colorpalette.generatepalettecolorscale.md) |  |  |
|  [updatePaletteGenerationValues(newConfig)](./fast-colors.colorpalette.updatepalettegenerationvalues.md) |  |  |
