Open
Description
In the Jenkins project we are using oklch colors. In order to use such colors in Echarts I wanted to use your library to convert these oklch colors to rgb colors (see jenkinsci/echarts-api-plugin#383). This works quite well for absolute colors like oklch(60% 0.2601 12.28)
, but for relative colors like oklch(from oklch(55% 0.2308 256.91deg) 2% 0.075 h)
the call new Color(color).to("sRGB").toString({format: "hex"});
fails with an exception.
Is there a plan to support such relative colors as well?
Metadata
Metadata
Assignees
Labels
No labels