英文:
ANSI what does this sequence mean?
问题
我知道这是ANSI颜色序列,但是它是什么意思?
BLUE = "\x1b[38;05;4m"
\x1b 是转义字符(ASCII 27)
38 是什么意思?
05 是什么意思?
4m 是什么意思?
在列表中似乎没有这样的内容。
英文:
I know that this is ANSI color sequence, but what does this mean?
BLUE = "\x1b[38;05;4m"
\x1b is escape (ASCII 27)
What is 38?
What is 05?
and What is 4m?
It seems there are no such thing on the list?
答案1
得分: 5
啊,我明白了,维基百科上有更完整的参考资料。
38 是 保留给扩展设置前景色。
05 是 下一个是颜色索引。
4 是 蓝色。
英文:
Ah I see, wikipedia has more complete reference
38 is Reserved for extended set foreground color
05 is next is the color index
4 is color blue
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。


评论