• Converts an HWB color to an HSB color.

    Example

    hwbToHsb('227deg', 0.3333, 0.35, 0.75) // return { h: 227, w: 0.2334, b: 0.5333, a: 0.75 }
    

    Parameters

    • hwb: [string, number, number]

      Color components as an angle followed by fractions.

    Returns HSB

Generated using TypeDoc