Yes, instead of using the opacity property, why don’t we use the colour format from Inkscape:
#AARRGGBB