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

    Function oklchToOKLab

    • Converts a color from OKLCh to OKLab color space.

      This function transforms the polar coordinates (C, h) of OKLCh into Cartesian coordinates (a, b) to create the OKLab representation. The L component remains unchanged.

      Parameters

      Returns OKLabColor

      The color in OKLab space