This particular custom text format is not supported out of the box, but you could write a JavaScript extension that adds such a format using tiled.registerMapFormat.
Regarding using the same graphics in multiple colors, this is currently only possible by using multiple layers, since each layer can have a custom tint color.