RGB led basics

The only thing the leds of a rgb led has in common is the ground.

Just calculate the resistors as normal.

R--/\/--\
G--/\/---GND
B--/\/--/

/\/ == Resistor

More PWM: Arduino Playground - TLC5940