cone function
Cube roots of the cone response of a linear sRGB colour: OKLab before its last matrix.
import { cone } from '@dioramajs/media/tone'function cone(color: Color, out?: Vector3): Vector3Parameters
| Name | Type | Description |
|---|---|---|
color | Color | |
out? | Vector3 | Default |
Defined in packages/media/src/tone.ts.