Coloring part of an axis label in ylab using TeX()

I want to color part of my axis labels in ylab() in plot() using TeX(). Neither Copilot nor Gemini are giving me the right advice. Here is a very simple example that doesn't work.

ylab = TeX("\\textcolor{blue}{blue}")

What gets displayed is "textcolorblueblue". (I actually want to color only part of the TeX expression, but if I can't even get this simple one to work...)

I presume you're using the "latex2exp" package. If so, unfortunately, text colouration is not supported.

Maybe there is a way around this, but I am not aware of one.

Stephen

I am using latex2exp, Not the news I was hoping for, but appreciated nonetheless.