Microsoft Word exception

In Microsoft Word, only a color name can be used to replace the background color of a text.

17 available colors

yellow | green | cyan | magenta | blue | red
darkBlue | darkCyan | darkGreen | darkMagenta | darkRed | darkYellow
darkGray | lightGray | black | white | transparent
You can still use hexadecimal colors for the text and cells backgrounds in Microsoft Word.


data = {
color: "darkYellow",
color2: "green",
color3: "11BBCC"
Color exception in Microsoft Word template
  • Microsoft: get the red background color
  • Word: get the magenta background color
  • the background: get the #FFFF00 background color
Color exception in Microsoft Word result