A lesson on color codes of resistors