Minimum and maximum stats settings alerts

Twine Version: 2.3.16
Story Format: 2.36.1

Having managed to code my game so that some stats have minimum and maximum limits, (Minimum and maximum stats settings):

<<set $Health to 100>>
<<set $Health_max to 100>>
<<set $Health_min to 0>>

and having those stats displayed in the sidebar:

Health: <<print $Health>>

is it possible to have either the text itself, or a previously transparent background colour flash yellow or red when the dangerous portion of those limits is reached? ie when fatigue is almost so low that you are about to drop? or health is so low that you risk dying?