Visual Studio 颜色代码?
Visual Studio Color Codes?
我正在尝试根据自己的喜好手动更改颜色。
默认看起来像这样:
<Item Background="0x02000000" BoldFont="No" Foreground="0x008CFAF1" Name="XML Attribute Quotes" />
所以我想换Foreground,但是我不太明白Color Code的格式
当我搜索十六进制颜色代码时,它们是 6 位数字。例如:https://peteroupc.github.io/html3dutil/tutorial-colors.html
那么在前面加上“0x00”是不是就对了?看来我想改变的所有颜色都是从那个开始的。据我所知,只有例外是以 0x02.
开头的默认值
You don't need to do any conversion with these, as they are already hex (actual code hex, not the #... web stuff). To "convert" a web hex triplet, just remove the # and prepend 0x00 and you should be good. All the other characters remain the same (case shouldn't matter, though some people like uppercase as procedure).
-根据这个:.vssettings file (Visual Studio Settings) Color Format
下面写着 0x02 默认值
我正在尝试根据自己的喜好手动更改颜色。
默认看起来像这样:
<Item Background="0x02000000" BoldFont="No" Foreground="0x008CFAF1" Name="XML Attribute Quotes" />
所以我想换Foreground,但是我不太明白Color Code的格式
当我搜索十六进制颜色代码时,它们是 6 位数字。例如:https://peteroupc.github.io/html3dutil/tutorial-colors.html
那么在前面加上“0x00”是不是就对了?看来我想改变的所有颜色都是从那个开始的。据我所知,只有例外是以 0x02.
开头的默认值You don't need to do any conversion with these, as they are already hex (actual code hex, not the #... web stuff). To "convert" a web hex triplet, just remove the # and prepend 0x00 and you should be good. All the other characters remain the same (case shouldn't matter, though some people like uppercase as procedure).
-根据这个:.vssettings file (Visual Studio Settings) Color Format
下面写着 0x02 默认值