๐ Resistor Color Code Decoder
Decode color bands โ resistance ยท Reverse-lookup resistance โ color bands
Works with standard E-series resistors. Temperature coefficient only available for 6-band.
The Stripe of Color That Speaks Resistance
Pick up any through-hole resistor and you are holding a small cylinder wrapped in rings of paint that quietly encode one of the most fundamental quantities in electronics. Those stripes aren't decoration โ they are a compressed number, a tolerance declaration, and sometimes a thermal fingerprint, all packed into four to six bands of pigment no wider than a fingernail. Learning to read them fluently is one of those skills that feels like cracking a private language, and once the grammar clicks, you never forget it.
The resistor color code was standardized by the Radio Manufacturers Association in 1924 and later codified in IEC 60062. Engineers of that era needed a way to mark tiny components that couldn't carry legible printed text, so they borrowed the idea of colored rings from the wire-insulation industry and mapped each hue to a digit. A century later the system is unchanged โ a brown band still means 1, a red band still means 2, and the same mnemonic tricks that apprentice radio technicians memorized in the 1930s still circulate on electronics forums today.
Four Bands: The Classic Reading
The most common resistor you'll encounter in a hobbyist parts bin or a vintage radio repair job uses four color bands. The first two bands each represent a single digit of the significant figures. The third band is a multiplier โ it tells you by what power of ten to scale those digits. The fourth band, typically shifted slightly away from the others toward the right end, declares the manufacturing tolerance.
A concrete example cements this immediately. Brown, Black, Red, Gold: Brown is 1, Black is 0, giving a significand of 10. Red as multiplier means ร100. So the resistance is 10 ร 100 = 1,000 ฮฉ, or 1 kฮฉ. Gold tolerance means the actual component can land anywhere within ยฑ5% of that value, so between 950 ฮฉ and 1,050 ฮฉ. Every four-band resistor decodes by exactly this logic.
The multiplier band is where people trip up most often. Gold and Silver don't represent digits here โ Gold means ร0.1 and Silver means ร0.01, allowing values below 10 ฮฉ to be encoded without needing a fractional significand. A Red-Red-Gold-Gold resistor is therefore 2.2 ฮฉ, which shows up constantly in power supply feedback networks and emitter-degeneration circuits.
Five Bands: Precision Parts
As tolerances tightened and circuit designs demanded components accurate to 1% or better, the industry needed finer granularity in the significand. Adding a third digit band solved that elegantly. Five-band resistors follow the pattern: three digit bands, one multiplier, one tolerance. The tolerance colors that appear most often on five-band parts are Brown (1%), Red (2%), Green (0.5%), Blue (0.25%), and Violet (0.1%) โ the gold and silver that dominate four-band tolerance reading are largely replaced by these tighter options.
Distinguishing a five-band resistor from a four-band one physically can be tricky because some manufacturers space bands inconsistently. The reliable tell is the tolerance band: if it is one of the precision colors listed above, you almost certainly have a five-band component. If it is gold or silver, count the remaining bands โ three significand digits with a gold or silver tolerance would give five total, but this combination is rare and indicates something like a precision film part worth checking twice.
Six Bands and the Temperature Story
The sixth band addresses something the first five don't โ behavior under temperature change. Every resistor drifts slightly as it heats up or cools down, and the temperature coefficient of resistance (TCR) quantifies how much that drift is. A sixth band, positioned at the far end of the body, encodes this value in parts per million per degree Celsius (ppm/ยฐC).
Brown on the sixth band means 100 ppm/ยฐC, which is quite typical for standard metal-film parts. Red steps that down to 50 ppm/ยฐC, and the progression continues through tighter specifications: Orange is 15 ppm/ยฐC, Yellow is 25 ppm/ยฐC (oddly looser than orange), Green is 20 ppm/ยฐC, Blue 10 ppm/ยฐC, Violet 5 ppm/ยฐC, and Grey 1 ppm/ยฐC โ the latter found only in the most demanding precision reference circuits.
Why does any of this matter outside of aerospace and metrology labs? More than you might expect. A timing oscillator that drifts 200 ppm from room temperature to operating temperature loses half a minute per day on a 24-hour clock. An audio equalizer with resistors matched to 0.1% but specified to 100 ppm/ยฐC will drift out of that careful matching the moment the amp warms up. Understanding TCR turns a vague sense that "good components matter" into a quantitative engineering decision.
Reading Direction and the Orientation Problem
Resistors are symmetric cylinders, and color bands don't come with an obvious arrow. Manufacturers print the tolerance band (and the TCR band) closer to one end of the body to signal the reading direction, but in practice this gap can be subtle, especially on cheap components. The reliable approach is to decode both possible orientations and see which gives a value in the E-series (E12, E24, E48, E96 depending on tolerance class). Standard resistor values follow specific sequences โ 10, 12, 15, 18, 22, 27, 33, 39, 47, 56, 68, 82 for the E12 series, for example โ and if one reading direction produces a number in that sequence while the other produces a meaningless value like 9.13 kฮฉ, the E-series reading is almost certainly correct.
Reverse Lookup: From Value to Bands
The inverse problem โ you know the resistance you need and want to know which color sequence to pull from the bin โ requires working backward through the same logic. Take the target value, express the significand in two or three significant figures, identify which COLORS map to those digits, find the appropriate multiplier, and choose a tolerance band matching your required precision.
For 4.7 kฮฉ with a 5% tolerance in the four-band scheme: significand 47, digits Yellow (4) and Violet (7), multiplier Red (ร100, giving 47 ร 100 = 4,700), tolerance Gold (ยฑ5%). The result is Yellow-Violet-Red-Gold โ one of the most ubiquitous resistor values in general electronics because it pairs well with LEDs at 5 V and appears in countless RC filter designs.
Where reverse lookup becomes genuinely tricky is with values that aren't E-series members. If you need exactly 3.33 kฮฉ for some contrived divider ratio, standard five-band resistors won't give you that โ the closest E96 value is 3.32 kฮฉ or 3.34 kฮฉ. A decoder that handles the reverse problem honestly should flag when the result is an approximation and show how far it drifts from your target, letting you decide whether the error is within your circuit's tolerance budget.
Practical Habits in the Lab
Color blindness affects roughly 8% of men and 0.5% of women, with red-green confusion being the most common form. The Red/Orange distinction and the Brown/Red distinction are notorious troublemakers even under good light. Experienced technicians develop workarounds: measuring with a multimeter before trusting the color read, relying on component storage trays labeled with values rather than decoded on the fly, or using black-and-white camera filters on smartphones to shift the palette into something more distinguishable. A digital decoder removes the ambiguity entirely and is genuinely useful in those moments when the workshop lighting is poor and the bands on a 0.25 W resistor are barely wider than a hair.
The color code also appears on other passive components โ some capacitors and inductors use the same ring notation for value marking โ so fluency transfers. Once the mapping from color to digit is automatic, the mental arithmetic of "what is this component's value" happens almost without conscious effort, which is exactly the kind of intuitive literacy that separates someone who repairs circuits from someone who merely replaces them.