Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Echo sets the use of colors

2025-04-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Echo display text

Echo sets the format of colors:

Echo-e "\ 033 [font background color; font color m string\ 033 [0m"

Font color

Echo-e "\ 033 [30m black words\ 033 [0m"

Echo-e "\ 033 [31m red word\ 033 [0m"

Echo-e "\ 033 [32m green word\ 033 [0m"

Echo-e "\ 033 [33m × × × words\ 033 [0m"

Echo-e "\ 033 [34m blue word\ 033 [0m"

Echo-e "\ 033 [35m purple word\ 033 [0m"

Echo-e "\ 033 [36m light blue\ 033 [0m"

Echo-e "\ 033 [37m White word\ 033 [0m"

Font background color

Echo-e "\ 033 [40m black\ 033 [0m"

Echo-e "\ 033 [41m Red\ 033 [0m"

Echo-e "\ 033 [42m green\ 033 [0m"

Echo-e "\ 033 [43m × ×\ 033 [0m"

Echo-e "\ 033 [44m Blue\ 033 [0m"

Echo-e "\ 033 [45m purple\ 033 [0m"

Echo-e "\ 033 [46m light blue\ 033 [0m"

Echo-e "\ 033 [47m White\ 033 [0m"

\ 033 [0m end

\ 033 [1m increase brightness

\ 033 [4m underline

\ 033 [5m flicker

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report