Resistor Color Code Calculator

Decode the color bands on 4-band and 5-band resistors to find their resistance value and tolerance.