# cone

function in `@dioramajs/media/tone`

```ts
import { cone } from '@dioramajs/media/tone'
```

Cube roots of the cone response of a linear sRGB colour: OKLab before its last matrix.

```ts
function cone(color: Color, out?: Vector3): Vector3
```

| Parameter | Type | Description |
| --- | --- | --- |
| `color` | `Color` |  |
| `out?` | `Vector3` |  |

Defined in [packages/media/src/tone.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/media/src/tone.ts#L64).
