This utility takes colors of a resistor to calculate its resistance and tolerance.
$ resist convert -c "red red brown gold"
220Ω ∓ 5%
____ ____ ____ ____ ____
____ | | | | | | | | | | ____
|2 | |2 | | | |10 | |5% |
‾‾‾‾ ‾‾‾‾ ‾‾‾‾ ‾‾‾‾ ‾‾‾‾