imgcolor takes a greyscale JPEG, PNG, or XBM and one or two colors as input and colorizes the greyscale image based on the input color(s). imgcolor is a command-line utility which uses the GD graphics library (version 1.8.3) and can output in JPEG or PNG format.