Resistor Color Code Calculator

Decode 4-band and 5-band resistor color codes.