I don’t have an example ready right now, but this is possible with HTML:
Check the profit value and create a flow variable (e.g. profit-color) that is “red” if profit < 0 and “green” otherwise. The html code could then look like so:
<p style=“color:$${Sprofit-color}$$”;>The profit was $${Dprofit-value}$$</p>
Glad it worked!
I was meaning to create a quick example by this evening, but you obviously beat me to it
If anything else comes up, always feel free to ask here.
Kind regards
Marvin
ps. if you happen to have a small example ready, you can share it here or on the hub for anyone else with a similar question.