Predifined Color
figure,plot(1:10,'Color','red')
User defined Color
figure,plot(1:10,'Color',[r g b])
where r, g an b are rgb content of color (normalized or percentage of color). For example
The Rgb value of my selected color is [71 72 133] and i ve to normalize it by max value and max value of color is 255 or 256 so divide it by 256.
rgb = [71 72 133]/256;
figure,plot(1:10,'Color',rgb,'LineWidth',10)
For colors letters https://stackoverflow.com/questions/25755776/how-to-define-custom-color-shortcuts-like-r-g-b-k-etc-in-matlab