解析:〈#ffffffff〉
#ffffffff由#加八位数字或字母组成,前两个ff为透明度(十六进制),后面六位ffffff为颜色代码,采用RGB配色(十六进制)
透明度参照表:
00% | FF(不透明) | 50% | 7F |
5% | F2 | 55% | 72 |
10% | E5 | 60% | 66 |
15% | D8 | 65% | 59 |
20% | CC | 70% | 4c |
25% | BF | 75% | 3F |
30% | B2 | 80% | 33 |
35% | A5 | 85% | 21 |
40% | 99 | 90% | 19 |
45% | 8c | 95% | 0c |
100% | 00(全透明) |
解析:〈#ffffffff〉
#ffffffff由#加八位数字或字母组成,前两个ff为透明度(十六进制),后面六位ffffff为颜色代码,采用RGB配色(十六进制)
透明度参照表:
00% | FF(不透明) | 50% | 7F |
5% | F2 | 55% | 72 |
10% | E5 | 60% | 66 |
15% | D8 | 65% | 59 |
20% | CC | 70% | 4c |
25% | BF | 75% | 3F |
30% | B2 | 80% | 33 |
35% | A5 | 85% | 21 |
40% | 99 | 90% | 19 |
45% | 8c | 95% | 0c |
100% | 00(全透明) |
转载于:https://www.cnblogs.com/oltra/p/5841969.html