Temperature and RGB LEDs

I haven't done the hardware yet, I was hoping for a code example first and I'll build the hardware around that.