Code for that is in the demo in my File Exchange: https://www.mathworks.com/matlabcentral/fileexchange/31118-color-segmentation-by-delta-e-color-difference
It asks you to draw a region in the image and then makes an image where every pixel is the delta E from the mean color in the region you drew.