UIColor.oklch()
Creates a UIColor from OKLCH values directly.
static oklch(l: number, c: number, h: number, alpha?: number): UIColor;
Parameters
- l — Lightness, 0-1.
- c — Chroma, 0-~0.4.
- h — Hue, 0-360.
- alpha — Alpha, 0-1 (default 1).
Related
class UIColor
A class that represents a single color value.
