McKay, any chance of adding support for {#FFFFFF} tags, as that one advertisements plugin already has? And even {##FFFFFFAA} for alpha as well using \x08?
My code found here should do it relatively quickly and safely should you want to copy it McKay.