I have an RGB LED, which I belive to be the diffuse version of this one: https://www.sparkfun.com/datasheets/Components/YSL-R596CR3G4B5C-C10.pdf, though I am not completely sure, as I bought it some while ago.
I have a 5V power supply (USB), and based on the data sheet I would calculate the needed resistor values as 90 Ohm for green and blue and 150 Ohm for red. I'm using a 100 Ohm resistor for green and blue each and 100+47 Ohm for red, i.e. pin 2, the common ground, connected to ground and each of the other pins connected to 5V through the respective resistor(s).
I am doing my connections on a breadboard.
Now if I connect any of the pins separately, leaving the others disconnected, the LED lights up more or less blue. Except if, after having connected the red pin, I touch the blue pin with a wire which is touching my skin, then it actually lights up red. If I now touch the green pin with the wire it reverts to blue. By playing with touching and connecting the pins in different orders I manage to get a nice white color, and I have managed yellowish hues and something remsembling violet or pink. I haven't managed to get green and I've even had what I think are mixed colors from just one pin connected. The blue from the red pin is fainter (because of the larger resistor, would be my guess), but the red is quite bright.
What is happening? I have multiple LEDs of the same type and all the ones I tested show this or similar behaviour.