console.log('%cTest message', 'color: #008000; font-weight:bold;');
You can use the
%c directive to apply a CSS style to console output. The text before the directive will not be affected, but the text after the directive will be styled using the CSS declarations in the parameter. You may use
%c multiple times.