An electronic color code is a code that is used to specify the ratings of certain electrical components, such as the resistance in Ohms of a resistor. Electronic color codes are also used to rate capacitors, inductors, diodes, and other electronic components, but are most typically used for resistors. Only resistors are addressed by this calculator.