@pbroom/color-kitTypes

Oklch

OKLCH color, the cylindrical form of OKLab. Structurally identical to Color.

interfaceimport type { Oklch } from '@pbroom/color-kit';types.ts:109
interface Oklch {
  l: number;
  c: number;
  h: number;
  alpha: number;
}

Properties

lnumber
Lightness: 0-1.
cnumber
Chroma: 0 to about 0.4.
hnumber
Hue in degrees: 0-360.
alphanumber
Opacity: 0-1.