The markup argument in a display box enables you to write HTML code to specify text and background colors. The color can be a hex value (starting with “0x”or “#”) or a known JMP color. Here is an example:
New Window( "Colors",
"This is <font color=\!"Red\!">red text and this is <font color=\!"0x00ff00\!">green text and this is <font color=\!"#0000FF\!">blue text</font>.",
"This is <background color=\!"#ff0000\!"> red text and this is<background color=\!"Green\!"> green text and this is<background color=\!"0x0000FF\!"> blue text</background>",
图 11.33 HTML Text and Background Colors