Decode yellow, violet, red and gold
Example input
4 | 7 | ×100 | ±5%Expected result
4700 Ω
4465–4935 ΩThe significant digits are 47 and the red multiplier is 100. Gold indicates a 5% tolerance, which is 235 ohms on either side of the nominal value.