BEAM Pieces is a BEAM Reference Library site. 
Resistor part codes Throughhole resistors Most resistors you'll see are marked with a part code, in the form of colored bands painted onto the resistor. These can be read via a defined standard like this: Let's make an example of this resistor: First find the tolerance band, it will typically be gold or silver (in this case, it's silver). Starting from the other end, identify the first band, and write down the number associated with that color. In this case the color is red, so you write down "2." Now the next color is green, so write down a "5" (so far, you've got "25"). Now read the third or 'multiplier' band (blue = 1M) and multiply the value by it. Here, the indicated resistance value is 25 MOhm. The tolerance band tells you how accurate the resistor's marked value is; here, it's silver  so it's a 10% resistor (kinda' cheap). In all, this resistor will have a resistance of 25 ± 2.5 MOhm. Note that 1% and 2% resistors will have 3 digits of resistance value.
Surfacemount
resistors Some surfacemount resistors are marked with exactly the same color code as shown above for throughhole resistors. More often, though, surfacemount resistors are marked with a basic three symbol code  the first two marked digits are the first two digits of the value, and the third digit is a multiplier (power of ten). This marking system is exactly the same as the marking system used for ceramic capacitors. All the values marked are in Ohms.
A two symbol system is also occasionally used (although this is more common for capacitors). The first symbol in the two digit system is a letter representing a number value; the second symbol is the multiplier (power of ten). All the values marked are in Ohms. A = 1.0


