Sənədləşdirmə
Bu şablon Lua əsaslıdır və Color contrast modulundan istifadə edir.
|
Nümunələr
-
<span style="background:navy; color:{{Greater color contrast ratio|navy|white|black}}">Navy</span>
→ Navy -
<span style="background:red; color:{{Greater color contrast ratio|red|white|black}}">Red</span>
→ Red -
<span style="background:white; color:{{Greater color contrast ratio|white|white|black}}">White</span>
→ White -
<span style="background:black; color:{{Greater color contrast ratio|black|white|black}}">Red</span>
→ Black -
<span style="background:#005500; color:{{Greater color contrast ratio|#005500|#FFFFFF|#000000}}">#005500</span>
→ #005500 -
<span style="background:#005500; color:#{{Greater color contrast ratio|005500|FFFFFF|000000}}">005500</span>
→ 005500 -
<span style="background:#CC5500; color:#{{Greater color contrast ratio|CC5500|FFFFFF|000000}}">CC5500</span>
→ CC5500 -
<span style="background:#CC5500; color:#{{Greater color contrast ratio|CC5500|FFFFFF|000000|bias=1}}">CC5500</span>
→ CC5500