Changing color of a element in HTML Based on MYSQL . : <p>So I will try to give you as much detail as possible so you understand what I'm thinking.
I am working on home automation for my home. I have a web interface and now I want to add a temperature feed to it. But that too in the form of a thermometer or in form of bars. For eg if temp. is above 40 C then color should be RED if it is below 40 It should be a lower gradient than red and below 20 means blue. Is it possible ? 
If yes , I beg your help. ! </p>
