HBCMS更多的中文手册参考:

ForeColor Command

DHTML文档教程

Sets or retrieves the foreground (text) color of the current selection.

Scripting Information

Command ForeColor
User interface None. Set bUserInterface to false. 
execCommand vValue Required. String that specifies a color name or a six-digit hexadecimal RGB value, with or without a leading hash mark, as defined in the color table.
applies toexeccommandquerycommandenabledquerycommandindetermquerycommandstatequerycommandsupportedqueryCommandValue.

Remarks

The HTML generated by this command may vary depending on the version of Microsoft® Internet Explorer.

是否符合公共标准

There is no public standard that applies to this command.

Minimum Availability

Internet Explorer 4.0 and later.