How to invert color of transparent black icon to white with a class

Hi all,

I want to add a class “invert” to the rightmost block (or to a subclass within), to invert the colors of the text and icons.

The text is trivial, I could easily add “white” and just change text color.

The icon is my real question. It’s a png transparent black outlined icon. I don’t want to upload another white icon. The effect of inverting sounds ideal.

How could I approach this?

Use Filter > Invert

Check the screenshot