Both msg.statusText and msg.statusLabelColor are strings, wired into the template node. msg.statusText is rendered fine, but msg.statusLabelColor is not rendered inside the CSS, so the background color is not set when the page loads.
[Opinion]
In an ideal world , we should always use classes to separate content from presentation. Especially for re-use, but for single one off tweaks, an inline style is sometimes "enough".
[/Opinion]