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, ...
Special thanks to both people in the following URLs where I used their code heavily and modified just a few lines to fit my app: 1 - Truth table -> https://github.com ...