# HeatMapColorScale (@salmonui/charts/heat-map)

> The HeatMapColorScale interface of @salmonui/charts/heat-map.

Canonical: https://salmonui.dev/docs/reference/charts/heat-map/HeatMapColorScale

```ts
import type { HeatMapColorScale } from '@salmonui/charts/heat-map';
```

Entry index: https://salmonui.dev/docs/reference/charts/heat-map (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/charts/heat-map.md).

## Reference

Kind: interface

```ts
interface HeatMapColorScale {
    readonly kind?: 'gradient' | 'steps' | undefined;
    readonly stops?: readonly HeatMapStop[] | undefined;
    readonly domain?: 'all' | 'row' | 'column' | undefined;
    readonly outOfRange?: string | undefined;
}
```

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `kind` | `readonly kind?: 'gradient' \| 'steps' \| undefined;` | optional |  |
| `stops` | `readonly stops?: readonly HeatMapStop[] \| undefined;` | optional | Data values (domain `all`) or positions 0..1 (domain `row` / `column`). |
| `domain` | `readonly domain?: 'all' \| 'row' \| 'column' \| undefined;` | optional | Normalize per table, row or column. Default `all`. |
| `outOfRange` | `readonly outOfRange?: string \| undefined;` | optional | Color of values outside the stop range (steps); default the end stops. |
