<!DOCTYPE html>
<meta charset="utf-8">
<title>mathcolor on mrow (reference)</title>
<math xmlns="http://www.w3.org/1998/Math/MathML">
  <mrow mathcolor="green">
    <mtext>□■□■□■□</mtext>
  </mrow>
</math>

