to dynamically increment from blue to red using C++
<p>I want to change the color Blue to Dark Red over a set of know values (like Temperature values for instance). 
I don't know how to dynamically count up to Blue to Red. </p>

<p>Can anyone help me out?</p>

<p>I never took an algorithms class so I think that might have something to do with this problem.</p>

<p>If you have a better way to do this, then let me know.</p>

<p>I am looking for some kind of code here. Thanks guys. It can be in any language but will inevitably be converted to C++.</p>
