Color Codes is a handy GNOME application for calculating color codes of resistors.
Color Codes is licensed under the GPLv3-or-later - a copy can be found at COPYING