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

    Parameters

    • color: IHsl

      the IHsl input color

    • Optionalopacity: number

      the opacity value

    Returns string

    the CSS style string