使用命令: echo -e "\x1b[38;2;255;100;0mHello World\x1b[0m" 若看到 “Hello World” 被着色为橙色,则表示终端支持 24 位色 若未着色,则需要为终端启用 24 位色