• Converts an HSV color to an HWB color.

    Example

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

    Parameters

    • hsv: [string, number, number]

      Color components as an angle followed by fractions.

    Returns HWB

Generated using TypeDoc