Well, you have one common pin, either common anode or common cathode. Tie common pin to ground if common cathode, then the three other pins are to turn on each color as needed. To turn on each color, the pin needs a + voltage, I assume a current limiting resistor for each pin is needed as well, but without data sheet I am not sure.