---
id: fast-colors.colorpalette._constructor_
title: ColorPalette.(constructor)
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) &gt; [(constructor)](./fast-colors.colorpalette._constructor_.md)

## ColorPalette.(constructor)

Constructs a new instance of the `ColorPalette` class

<b>Signature:</b>

```typescript
constructor(config: ColorPaletteConfig);
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  config | [ColorPaletteConfig](./fast-colors.colorpaletteconfig.md) |  |
