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

    Function hwbToOKLab

    • Converts an HWB color to the OKLab color space.

      This function first converts the HWB color to RGB, then from RGB to OKLab. OKLab is a perceptually uniform color space designed to better represent how humans perceive color differences.

      Parameters

      • color: HWBColor

        The HWB color to convert

      Returns OKLabColor

      The color in OKLab space