---
id: fast-colors.componentstatecolorpalette._constructor_
title: ComponentStateColorPalette.(constructor)
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-colors](./fast-colors.md) &gt; [ComponentStateColorPalette](./fast-colors.componentstatecolorpalette.md) &gt; [(constructor)](./fast-colors.componentstatecolorpalette._constructor_.md)

## ComponentStateColorPalette.(constructor)

Constructs a new instance of the `ComponentStateColorPalette` class

<b>Signature:</b>

```typescript
constructor(config?: ComponentStateColorPaletteConfig);
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  config | [ComponentStateColorPaletteConfig](./fast-colors.componentstatecolorpaletteconfig.md) |  |
