Resistor color code by whio(brx)

#!perl -pl
s/M/e6/,s/k/e3/,$_*=$<,$_.=s/(?<=..)0//g-3,s/-?./-(Black,Brown,Red,Orange,Yellow,Green,Blue,Violet,Grey,White,Silver,Gold)[$&]/ge,s/-//

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page