outsider:
Think of an output pin like this, when HIGH, it's connected to Vcc, when LOW, to GND.
This won't work, because the anodes of the three LEDs are tied together.
Try this (the values are estimated and might not be correct for your application):
This will also work with the Data pins, as well.

