Resistors are too small to print a number on, so their value is written in a color code — a row of painted bands. It looks cryptic at first, but it follows one simple pattern: the first bands are digits, the next band is a multiplier, and the last is tolerance.