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

Use Filter > Invert

Check the screenshot