• Converts an HSB color to an HWB color.

    Example

    hsbToHwb('270deg', 0.2, 0.2917) // return { h: 270, w: 0.2334, b: 0.7083, a: 1 }
    

    Parameters

    • hsb: [string, number, number]

      Color components as an angle followed by fractions.

    Returns HWB

Generated using TypeDoc