Deadline assumes that the logs contain text, not HTML code.
The colorization is performed optionally based on RegEx matching typical tokens, as explained in the documentation here:
Text is highlighted based on a number of predetermined criteria, including severity level (ERROR , INFO , WARNING ), output stream (STDOUT , PYTHON ), and other special elements like timestamps and headings.