Right now I'm reading Raspberry Pi Cookbook and I would like to create the program described in the book. Because I'm beginner and I would like to buy more (cheaper) RGB LEDs at once and also I will get them faster than the ones from link in book, so I need some help. The author of the book wrote that along of Diffused LED - RGB 10mm from Sparkfun I need three 1k ohm resistors. The problem is that I would like to buy RGB LEDs from DX or Banggood which are also smaller, but I don't know if I can use them with my Raspberry Pi and 1k ohm resistors because there are some differences between voltages looking at Sparkfun and DX/Banggood.
Basically I just need to know if I can use RGB LEDs from DX or Banggood with 1k ohm resistors and if there will not be any problem because of different voltages?