Support custom colors for highlightColor in Word
It seems that setting
font.highlightColor only supports couple of basic colors even though the docs don't explicitly mention any limitations. Any other color used seems to be converted to closest basic color.
This is quite limiting especially that the basic Word highlight colors are mostly dark and very unsuitable for highlighting black on white text.
Petr, thanks for your suggestion. It’s a good one. We’re currently reviewing this idea. We’ll get back to you shortly.
Office Extensibility Team
I don't think it can be highlight color since by Word's standard it can only be one of the predefined colors. But instead there should be the ability to set font.shadingColor (as you can in VSTO). https://github.com/OfficeDev/office-js/issues/388