3 lead LEDs ?

Energizing both colors at the same time might lead to some heating problems.

To reduce heating issues and adding dimming ability, try Pulse Width Multiplexing them.