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

    Function oklabToOKLCh

    • Converts a color from OKLab to OKLCh color space.

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

      Parameters

      Returns OKLChColor

      The color in OKLCh space