MATLAB: Predefining colors for in-text coloring

colortext;

Hi all
I am using the latex approach to coloring segments of e.g. a title. For example:
figure
plot(rand(10,1),'.')
title('{\color{red}this is red} and {\color{blue}this is blue}')
However, it appears that only 8 predefined colors are available automatically in Matlab. How do I expand this number, or ideally predefine color names using rgb codes myself?
Cheers
Jakob

Best Answer

Repeated googling led me to this solution
{\color[rgb]{1 .5 .2}text}
/J