r4 vs r5
1
{{{#!wiki style="display:inline-block; min-width:260px; border:1px solid #999; border-radius:6px; padding:10px; background:@bg@; color:@fg@;"
2
'''대비 테스트 샘플'''[br]
3
Aa 가나다 123
4
}}}
1
호출됨
52
6
||<tablewidth=100%><tablebgcolor=#ffffff,#1f1f1f><tablecolor=#222,#eee> 글자색 || {{{@fg@}}} ||
7
|| 배경색 || {{{@bg@}}} ||
8
|| 대비비 || {{{@ratio@}}}:1 ||
9
|| 기준 || {{{@level@}}} ||
10
11
{{{#!if this.ratio >= 7
12
'''AAA 통''' — 일반 텍스트 기준으로도 충분합니다.
13
}}}
14
15
{{{#!if this.ratio >= 4.5 && this.ratio < 7
16
'''AA 통과''' — 일반 텍스트 기준을 만족합니다.
17
}}}
18
19
{{{#!if this.ratio >= 3 && this.ratio < 4.5
20
'''큰 글자 AA만 통과''' — 일반 본문용으로는 부족합니다.
21
}}}
22
23
{{{#!if this.ratio < 3
24
'''미달''' — 큰 글자 기준도 만족하지 못합니다.
25
}}}
3
글자색: @fg@
4
배경색: @bg@
5
대비비: @ratio@:1
6
기준: @level@
7
: @result@