MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / toOklch

Function toOklch

src/compute-engine/compilation/javascript-target.ts:1097–1124  ·  view source on GitHub ↗

Resolve any color input to Oklch components, preserving alpha if present.

(input: string | number[])

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

colorMixFunction · 0.70
asOklabFunction · 0.70
colorDeltaFunction · 0.70

Calls 1

normalizeAlphaFunction · 0.70

Tested by

no test coverage detected