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

    Function hslToHWB

    • Converts a color from HSL to HWB color space.

      This function first converts the HSL color to RGB, then from RGB to HWB. The HWB color space is a cylindrical representation of RGB, using hue, whiteness, and blackness components.

      Parameters

      • color: HSLColor

        The HSL color to convert

      Returns HWBColor

      The color in HWB space