add colormap function (closes #105, closes #111)