Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在一个看起来像这样的 xml 文件中找到了颜色定义#8867d1fd。我想在例如 Photoshop 颜色选择器中检查它,但它一直在减少最后两位数字。它是一种什么样的符号?
#8867d1fd
颜色定义为 6 位数字(颜色的红色、绿色和蓝色分量),额外的 2 位数字是透明度,即透明度。如果您还想显示您的内容和背景,这很有用。0 alpha 表示透明,FF 表示纯色,不显示背景。中间的任何数字表示半透明或半固体。
所以格式是:
ARGB ( alpha , red , green and blue )
要检查您的颜色,请使用 #67d1fd 检查没有 alpha 的颜色。