1 2 3 4 5 6
\usepackage {color} {\color[rgb]{0,1,0} Text starts off in green \textcolor[rgb]{1,0,0}{ a little red} {\color[rgb]{0,0,1}nested blue text} returning to green}