Color inputs of the SDK: linear [r, g, b, a] tuples in 0..1 (what the engine consumes) or
CSS color strings. parseColor resolves hex / rgb() / rgba() / hsl() / hsla() itself
(works without a DOM); any other CSS color (named colors, color(), oklch(), ...) goes
through a 2D canvas context when document exists.
Color inputs of the SDK: linear
[r, g, b, a]tuples in 0..1 (what the engine consumes) or CSS color strings.parseColorresolves hex /rgb()/rgba()/hsl()/hsla()itself (works without a DOM); any other CSS color (named colors,color(),oklch(), ...) goes through a 2D canvas context whendocumentexists.