Hi Joseph,
the SAPUI5 icon control has a method (setColor) for setting the color. Also setSize, setHeight, setWidth, etc. There is no need for CSS styling at all.
https://sapui5.hana.ondemand.com/sdk#docs/api/symbols/sap.ui.core.Icon.html
Cheers
Graham Robbo