Set Object Table Icon Color

Can we set icon colours in object tables? It would be nice to have these as red and green.

![enter image description here](upload://xFy7WMkQcA7VULwxOynkA90nYCg.png)

The method to set the color is to use the style attribute of the object table column:

style-icon-color="$:getIconColor($object)"