Temperature and RGB LEDs

I am a hopeless coder but good with the hardware side of things

So you need to post your schematic because without knowing what you are using or how it is wired up it is imposable to write any code.