RGB led/led strip controlled bij IR remote

You forgot the resistors for the LED.

You use a LED with a common anode. The anode is tied to 5V. To let it glow, you need to pull the cathodes to ground.

An analogWrite(, 0) pulls it to ground all the time. -> Bright light
An analogWrite(, 255) pull it to 5V all the time. -> Off

WHen you want setColor(255, 255, 255) to be white, you need to invert the values. Something like analogWrite(Rpin, 255 - red); should do the trick for red.