maxChroma
import { maxChroma } from 'pixi-silk/ui/color';
function maxChroma(L: number, h: number): number;
Largest chroma at this lightness and hue that still fits in sRGB, found by bisection. 0 for black and white.
Parameters#
| Parameter | Type |
|---|---|
L | number |
h | number |
Returns#
number