Documentation

UIColor​.oklch()

Creates a UIColor from OKLCH values directly.

static oklch(l: number, c: number, h: number, alpha?: number): UIColor;

Parameters

Related