Testing some symmetric conversion to make sure things are what I expect
I'm just testing things out on the docs site here: https://culorijs.org/api/#formatHex
in the browser console.

culori.formatHex(culori.parseHex('#0074ff'))
// "#0074ff"
culori.formatHex(culori.convertRgbToLab(culori.parseHex('#0074ff')))
// "#0074ff"
culori.formatHex(
culori.convertLabToLch(
culori.convertRgbToLab(
culori.parseHex('#0074ff')
),
'oklch'
)
)
// "#ff00ff" -- wrong
in that last one, if I omit the oklch argument, which converts to regular lch, formatHex returns the original hex, as expected
Testing some symmetric conversion to make sure things are what I expect
I'm just testing things out on the docs site here: https://culorijs.org/api/#formatHex
in the browser console.
in that last one, if I omit the
oklchargument, which converts to regularlch, formatHex returns the original hex, as expected