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

    Parameters

    • color: IRgb

      the IRgb input color

    • Optionalopacity: number

      the opacity value

    Returns string

    the CSS style string