# oklabToLinear

function in `@dioramajs/diorama/kit`

```ts
import { oklabToLinear } from '@dioramajs/diorama/kit'
```

`fromOklab` in a shader: linear sRGB of an OKLab colour, clamped to the gamut.

```ts
function oklabToLinear(lab: Node<'vec3'>): Node<'vec3'>
```

| Parameter | Type | Description |
| --- | --- | --- |
| `lab` | `Node<'vec3'>` |  |

Also exported from `@dioramajs/effects/kit`.

Defined in [packages/effects/src/kit.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/effects/src/kit.ts#L495).
