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

    Function p3ToHWB

    • Converts a P3 color to the HWB color space.

      This function first converts the P3 color to RGB, then from RGB to HWB. The HWB color space represents colors using hue, whiteness, and blackness components.

      Parameters

      • color: P3Color

        The P3 color to convert

      Returns HWBColor

      The color in HWB space