make \color in MathJax behave similar to \color in LaTeX

Now the following code in a text cell will indeed result in a blue color for the first part.

    $${\color{blue} x^2 = x \times x} \text{ not blue }$$