I'm not sure I understand your question, but if you need to dynamically set style values, such as color, you can use Style variables. You can then bind your style variable to the color field on each span.
Perhaps you can share a bit more information in case I didn't get it right 🤞