@dragonspark/chroma-kit
    Preparing search index...

    Function lchToOKLab

    • Converts a color from CIE LCh to OKLab color space.

      This function first converts the LCh color to XYZ, then from XYZ to OKLab.

      Parameters

      • color: LChColor

        The LCh color to convert

      Returns OKLabColor

      The color in OKLab space