Console Log statements can be styled with a limited set of CSS features. Insert %c in your log message add an additional parameter with the style.

// Logs "hello world" in red letters
console.log("%chello world", "color:red");

// Use multiple "%c" and multiple style arguments
// Logs "hello world" and "hello" is red
console.log("%chello %cworld", "color:red", "");

// "hello" is italic and "world" has a red border and red text color
console.log(
"%chello %cworld",
"font-style:italic" /* styles for "hello" */,
"border:1px solid red;color:red" /* styles for "world" */
);

Here is how it looks like on your browser console:

Styled color logs in the browser console