style object console log code example Example: console log style console.log("%cThis is a green text", "color:green");