you have here a full example , for another version not significant changes: http://matplotlib.org/examples/color/colormaps_reference.html