If you want to know more about the history of the resistor color code bands, then we have you covered. Alternatively, how about reading the color code directly with computer vision?
Perhaps it’s a side-effect of getting older, but it seems like reading the color bands on blue metal-film ... microcontroller reading the value of a resistor by measuring the voltage from ...