change the colour in colorbar matlab code example Example: figure bachground matlab color set(gcf,'color','w');