When through-hole resistors were first made, printing tiny numbers was a relatively costly process. Instead, colored stripes were used to represent a resistor’s value.