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

    Parameters

    • color: IHsl

      the IHsl input color

    • Optional opacity: number

      the opacity value

    Returns string

    the CSS style string