Just as a general rule, a supply voltage of 5 volts needs a 150 ohm resistor for most leds. However, we tend to be talking about 4.2 volts max for a single li-on cell, so 100 ohms works well for max brightness on most leds. If you use a blue or white led, then the resistor can be 47 ohms, since...