Hi Koundinya,
I'm not sure if that will answer your question but if you try: from matplotlib.colors import LinearSegmentedColormap cmap_Hema = LinearSegmentedColormap.from_list('mycmap', ['white', 'navy']) cmap_DAB = LinearSegmentedColormap.from_list('mycmap', ['white', 'saddlebrown']) cmap_Eosin = LinearSegmentedColormap.from_list('mycmap', ['darkviolet', 'white']) You won't be able to get back to the original color but it will do a descent job: <https://lh3.googleusercontent.com/-I4YYHbj6CFY/V7_CZ2tDCII/AAAAAAAAGFg/xSbdDrFFM6sqAH5nPqVhZpRR5u6QNWoFwCLcB/s1600/immuno.png> <https://lh3.googleusercontent.com/-I4YYHbj6CFY/V7_CZ2tDCII/AAAAAAAAGFg/xSbdDrFFM6sqAH5nPqVhZpRR5u6QNWoFwCLcB/s1600/immuno.png> <https://lh3.googleusercontent.com/-I4YYHbj6CFY/V7_CZ2tDCII/AAAAAAAAGFg/xSbdDrFFM6sqAH5nPqVhZpRR5u6QNWoFwCLcB/s1600/immuno.png> Sincerely, Cedric On Monday, August 22, 2016 at 10:40:06 PM UTC-7, Koundinya Desiraju wrote: > > In this tutorial, > http://scikit-image.org/docs/dev/auto_examples/color_exposure/plot_ihc_color_separation.html#sphx-glr-auto-examples-color-exposure-plot-ihc-color-separation-py > > After color deconvolution the haematoxylin and DAB channels were plotted > in grayscale but I want to show them in respective colors. For example, I > want to show DAB channel in brown. Can anyone kindly post How to do that? > > Thanks, > Koundinya > -- You received this message because you are subscribed to the Google Groups "scikit-image" group. To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image+unsubscr...@googlegroups.com. To post to this group, send an email to scikit-image@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/scikit-image/5394a2f0-98a1-4254-ac14-851e9c956bb7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.