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

    Function hwbToOKLCh

    • Converts an HWB color to the OKLCh color space.

      This function first converts the HWB color to RGB, then from RGB to OKLCh. OKLCh is a cylindrical representation of OKLab, using lightness, chroma (saturation), and hue components, with improved perceptual uniformity over traditional LCh.

      Parameters

      • color: HWBColor

        The HWB color to convert

      Returns OKLChColor

      The color in OKLCh space