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

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

## ColorScale.(constructor)

Constructs a new instance of the `ColorScale` class

<b>Signature:</b>

```typescript
constructor(stops: ColorScaleStop[]);
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  stops | [ColorScaleStop](./fast-colors.colorscalestop.md)<!-- -->\[\] |  |
