How and where would I be able to change the color of a progress the lower it gets?

This is my current setup in UserInterface. Im not sure where to use this function. I tried to do it on ThirdPersonCharadcter Blueprint but I am not able to use “Get stamina” as a progress bar. Any help or different suggestions is greatly appreciated. Thanks in advance!

That’s the bind function, it goes in the widget: