How to change the color of a shape according to a value in the database?

Hello !
I am new here :slight_smile:
I would to know if it is possible for example to change the color of a shape according to a value that is in the Bubble database !?
And how can I do that ?

Let’s say that in my database I have the percentage of hydration of the user. And in my app, there is a circle that indicate if the user’s hydration rate is good or bad. So for example, I would that this circle turns green when the value of the hydration rate is above a certain threshold.

Please use the conditional options for the shape…