added color argument to histograms