Create a custom colormap by dragging points on the RGB intensity curves.

Bring to Front: Swap: Flip:

Copy your colormap



This is an example of how to use color maps in Matplotlib.

Example: Copy the plain text RGB colors and then run this function in your Jupyter notebook to copy it directly

    import pandas as pd
    import matplotlib as mpl
    import numpy as np
    
    def create_colorbar_from_clipboard():
        df = pd.read_clipboard(header=None)
        df.columns = ['R', 'G', 'B']
        c = np.array(df/255.0)
        cm = mpl.colors.ListedColormap(c)
        return cm
    
    cmap = create_colorbar_from_clipboard()
            

Instructions: Copy the code above and use it in your Python environment (Jupyter Notebook) for color mapping.