Matlab built-in colors

Capture

to get RGB values for default Matlab color order, use

get(gca,'ColorOrder')

or use colormap to get values for any built-in style

rgb = colormap(parula(10)); % 10 is number of color
Advertisements