Template:Color contrast ratio
此模 |
概要
參 數 及使用 方法
{{Color contrast ratio|
颜色
範 例
显示 |
WCAG 2.0 | ||||
---|---|---|---|---|---|
#000000 | #FFFFFF | |
{{Color contrast ratio|#000000|#FFFFFF}}
|
21 | AAA |
#000080 | #DDDDDD | |
{{Color contrast ratio|#000080|#DDDDDD}}
|
11.787 | AAA |
#7B0000 | #FF9900 | |
{{Color contrast ratio|#7B0000|#FF9900}}
|
5.324 | AA |
#004800 | #AAAAAA | |
{{Color contrast ratio|#004800|#AAAAAA}}
|
4.691 | AA |
red | white | |
{{Color contrast ratio|red|white}}
|
3.998 | |
#FF0000 | #FF9999 | |
{{Color contrast ratio|#FF0000|#FF9999}}
|
1.955 | |
#BADFEE | black | |
{{Color contrast ratio|#BaDFeE|BlAcK}}
|
14.878 | AAA |
red | black | |
{{Color contrast ratio|red|black}}
|
5.252 | AA |
#FFFF00 | #00FFFF | |
{{Color contrast ratio|#FFFF00|#00FFFF}}
|
1.168 |
注意 事 项
参 见
- MOS:对比
度 (尚 无共识)