My understanding of dual colour leds is that there are three wires/pins.
A common anode and then 2 cathodes, 1 for each colour.

So you would supply a +voltage to the cathode corresponding to the...