console.log() 字体颜色

console.log("%c%s",
"color: #fff; background: #20B2AA; font-size: 24px;",
"helloGis!");

console.log("This is %chello Gis", "color: #ffffff; font-style: italic; background-color: #20B2AA;padding: 2px 4px");

console.log(" ┏┓   ┏┓ ┏┛┻━━━┛┻┓ ┃       ┃   ┃   ━   ┃ ┃ ┳┛ ┗┳ ┃ ┃       ┃ ┃   ┻   ┃ ┃       ┃ ┗━┓   ┏━┛ ┃   ┃ 佛祖保佑 ┃   ┃ 代码无BUG! ┃   ┗━━━┓ ┃       ┣┓ ┃       ┏┛ ┗┓┓┏━┳┓┏┛ ┃┫┫ ┃┫┫ ┗┻┛ ┗┻┛ ");

原文地址:https://www.cnblogs.com/lgjc/p/8761239.html