Template:KBL color cell2

From blackwiki
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Usage

{{KBL color|team name|number}}

{{KBL color cell|team name}} returns a style that uses the primary color for the background and the secondary color for the font.

{{KBL color cell2|team name}} returns a similar style but uses the tertiary and quaternary colors instead of the primary and secondary, respectively.

Team1234Contrast
1/24/3
Seoul Samsung Thunders 5.085.08
Anyang KGC 4.7321
Busan KT Sonicboom 4.764.41
Goyang Orions 2.344.95
Seoul SK Knights 4.962.71
Ulsan Mobis Phoebus 4.3721
Incheon ET Land Elephants 3.168.59
Wonju Dongbu Promy 3.413.41
Changwon LG Sakers 5.1521
Jeonju KCC Egis 10.322.63
South Korea national basketball team 11.925.89
The numeric columns are the calculated contrast ratio for the first/second and the fourth/third colors. Anything lower than 3 is very poor contrast and should be changed in the data module. For more information, see Template:Color contrast ratio.

Examples

<span style="color: #{{KBL color|Seoul Samsung Thunders|1}};">Lorem ipsum</span>

Lorem ipsum

<span style="{{KBL color cell|Seoul Samsung Thunders}}">Lorem ipsum</span>

Lorem ipsum

<span style="{{KBL color cell2|Seoul Samsung Thunders}}">Lorem ipsum</span>

Lorem ipsum

See also