If your 2d data is based on a square grid, you can try to convert your color column into a matrix with the location of each element corresponding the position on the square grid. i.e, a=[1,1,0;1,2,1;2,1,2;2,2,3] corresponds to [0,1;2,3]. then CONTOUR plotting.