added option for color for histogram