The USB cable have five wires: Two are used for data and two for power. The additional one is the grounded shield. The black one is the NEGATIVE, the red one is the POSITIVE. The voltage from an USB port is 5 Volts. The maximun current for any device connected to the USB cannot be more than 500 mA. Do not build this projects if you don't know what you are doing. It works perfectly and I can see the keys on my keyboard without problems. I can work at night without turning the light on. I even can read with this light. Yellow LEDs may also work fine. Before doing this project, I need to be sure how much current will be used. It is only 15.27 mA using a 100 ohms resistor. That is not a problem for the USB port. Using a 200 ohms resistor, this circuit uses only 8 mA.
🔗 External reference