• Gets a CSS style string from a IHsl object and opacity value

    Returns

    the CSS style string

    Parameters

    • color: IHsl

      the IHsl input color

    • Optional opacity: number

      the opacity value

    Returns string