Create a custom colormap by dragging points on the RGB intensity curves.
Bring to Front:Swap:Flip:
Copy your colormap
% Usage: ("C" is color matrix)
colormap(C/255); % in matlab
import matplotlib as mpl # in python
cm = mpl.colors.ListedColormap(C/255.0)
plt.imshow(..., cmap=cm) # for example