The values or ratings of electronic components are indicated by the electronic color code that was developed in the early 1920s. It is not only seen in resistors, but also in capacitors, inductors, ...