Hi guys! I have some trouble finding out how to make the text change color depending on the timer duration, and stack count.

For example lets take my Backdraft aura, it already has a buff timer (top left) and a stack count (bot right) my question is, is it posible to make the text from the buff timer to be white when at full duration, then change to yellow at medium duration and red when about to expire? the same with the stacks, white at full stacks, yellow at medium and red when almost empity

Thanks a lot!