Decode and encode resistor color bands
Decodes 4/5/6-band resistor color codes per IEC 60062 standard. Supports digit, multiplier, tolerance, and temperature coefficient bands.