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

    Function labToOKLab

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

      This function uses the automatic conversion system to find the optimal path from Lab to OKLab, which typically goes through XYZ.

      Parameters

      • color: LabColor

        The Lab color to convert

      Returns OKLabColor

      The color in OKLab space