3 color LED via Arduino - how?

Think of an output pin like this, when HIGH, it's connected to Vcc, when LOW, to GND.
outPin-1.png