transform @community/transform-hex-to-oklch

Hex To Oklch

Converts a hex color string ('#3B82F6' or '3B82F6' or '#fff') to oklch coordinates. Composes hex parsing → sRGB → linear sRGB → XYZ D65 → Oklab → polar oklch.…

Skill
@community
Domain
visual-design
Version
1.0.0
Quality
0.0
Edges
0 out · 0 in
Tokens
82/572/1086
$ aoe install @community/transform-hex-to-oklch

Projection

Always in _index.xml · the agent never has to ask for this.

HexToOklch [transform] v1.0.0

Converts a hex color string ('#3B82F6' or '3B82F6' or '#fff') to oklch coordinates. Composes hex parsing → sRGB → linear sRGB → XYZ D65 → Oklab → polar oklch. The result is suitable for storing in a design token in oklch() form, enabling perceptually-even tonal palettes.

Source

aoe-engine/examples/frontend-design/primes/compiled/@community/transform-hex-to-oklch/atom.yaml