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