I have learned that text colors in the script log or status bar (and perhaps other places) can be set with <font color="#AABBCC">...</font> or, simplified, with <#AABBCC>...</#>.
The text background can be set with <font bgcol="#AABBCC">...</font>.
Does anyone know if there's a simplified syntax for this as well? (I don't mean changing the general background color via the Preferences.)
If you're setting the text color as well then you can shorten it to, e.g.: <#000000 #ff0000>hello</#> (black on red). If you just want to change the background color by itself then you have to use bgcol.