I just recently got (back) into electronics. I managed to put out my first Netduino project, that simulates a traffic light (yay

While buying LEDs at my local Fry's, I accidentally picked up a 2-color LED. It says that a different color will be shown if polarity is reversed. I used my multimeter in diode-test mode, and sure enough, I got a green color when I switched the probes.
Now the question is, how to do this programmatically. Suppose I have one of the LED legs connected to D13 and the other to GND.
I can easily light the LED by using an OutputPort, but how can I reverse it's polarity? All I can write to the port is 'true or 'false'.
Do I need another electric component to reverse the polarity, or is it possible to achieve with code only?
Do I use an analog pin? What am I missing?
Thanks for your time.
Guy