# ramp

function in `@dioramajs/data/heatmap`

```ts
import { ramp } from '@dioramajs/data/heatmap'
```

A color at `t` 0..1 along stops, blended in OKLab so the steps look even.

```ts
function ramp(stops: readonly Color[], t: number, out?: Color): Color
```

| Parameter | Type | Description |
| --- | --- | --- |
| `stops` | `readonly Color[]` |  |
| `t` | `number` |  |
| `out?` | `Color` |  |

Defined in [packages/data/src/heatmap.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/data/src/heatmap.ts#L210).
