@pbroom/color-kit/driverColor input

ColorInputModel

Color model a numeric channel input edits: OKLCH (l 0-1, c 0-0.4, h degrees), RGB (r/g/b 0-255) or HSL (h degrees, s/l 0-100). Every model also has an alpha channel (0-1).

typeimport type { ColorInputModel } from '@pbroom/color-kit/driver';color-input.ts:31
type ColorInputModel = 'oklch' | 'rgb' | 'hsl';