import colorsys for histogram