Module:Sports color/esports/doc
This is the documentation page for Module:Sports color/esports
This is the data module used by Module:Sports color.
Format
Most lines will be of the following form
["TEAM NAME"] = {"HEX1", "HEX2", "HEX3", "HEX4"},
The trailing comma is very important. Here, HEX1
, HEX2
, HEX3
, and HEX4
are hexadecimal color values.
To use the same color for more than one team name (e.g., if the team goes by more than one name, but the colors are the same), use
["SECONDARY TEAM NAME"] = "TEAM NAME",
where TEAM NAME
has already been defined, and SECONDARY TEAM NAME
is the alternative spelling, or name.
Choosing colors
In general:
- First color is the team's primary color, used for backgrounds.
- Second color is the font color that goes well with the first as its background. Should typically be black or white.
- Third color is the team's secondary color, used for backgrounds.
- Fourth color is the font color that goes well with the third as its background. Should typically be black or white.
Colors must at a minimum satisfy Web Content Accessibility Guidelines (WCAG) AA (contrast ratio of at least 4.5), and, if possible, satisfy WCAG AAA (contrast ratio of at least 7.0). The WebAIM Contrast Checker is a good tool to check colors.
Test table
Team | 1 | 2 | 3 | 4 | Contrast | |
---|---|---|---|---|---|---|
1/2 | 4/3 | |||||
100 Thieves | 4.52 | 21 | ||||
76ers GC | 5.56 | 4.83 | ||||
ATL Academy | 9.18 | 12.82 | ||||
Astralis | 4.81 | 21 | ||||
Atlanta Faze Also known as Atlanta FaZe | 4.5 | 21 | ||||
Atlanta Reign Also known as ATL | 9.18 | 12.82 | ||||
Bilibili Gaming | 7.35 | 10.35 | ||||
Blazer5 Gaming | 21 | 4.84 | ||||
Boston Breach | 16.51 | 15.46 | ||||
Boston Uprising Also known as BOS | 8.43 | 15.33 | ||||
British Hurricane | 14.45 | 11.04 | ||||
Bucks Gaming | 10.95 | 8.46 | ||||
Cavs Legion GC | 10.39 | 12.12 | ||||
Celtics Crossover Gaming | 4.84 | 7.66 | ||||
Chengdu Hunters Also known as CDH | 10 | 7.26 | ||||
Chicago Huntsmen | 8.98 | 6.14 | ||||
Cloud9 | 8.98 | 9.79 | ||||
Complexity Gaming | 14 | 8.79 | ||||
Counter Logic Gaming | 8.71 | 5.14 | ||||
Dallas Empire | 8.31 | 21 | ||||
Dallas Fuel Also known as DAL | 15.93 | 4.95 | ||||
Dignitas | 13.98 | 19.17 | ||||
Eternal Academy | 10.89 | 9.58 | ||||
Evil Geniuses | 18.7 | 13.98 | ||||
FaZe Clan | 4.5 | 21 | ||||
Florida Mayhem Also known as FLA | 5.82 | 21 | ||||
Florida Mutineers | 9.24 | 7.02 | ||||
FlyQuest | 8.74 | 8.7 | ||||
Fnatic | 6.68 | 21 | ||||
FunPlus Phoenix | 4.64 | 21 | ||||
Fusion University | 9.95 | 21 | ||||
G2 Esports | 21 | 4.69 | ||||
Gen.G | 21 | 6.34 | ||||
Gladiators Legion | 9.69 | 21 | ||||
Godsent | 13.92 | 17 | ||||
Golden Guardians | 10.6 | 21 | ||||
Grizz Gaming | 14.33 | 5.79 | ||||
Guangzhou Charge Also known as GZC | 14.34 | 7.39 | ||||
Guild Esports | 11.05 | 5.5 | ||||
Hangzhou Spark Also known as HZS | 9.92 | 9.07 | ||||
Hawks Talon GC | 5.88 | 12.15 | ||||
Heat Check Gaming | 21 | 8.84 | ||||
Hornets Venom GT | 5.17 | 16.14 | ||||
Houston Outlaws Also known as HOU | 21 | 12.04 | ||||
Immortals | 7.95 | 12.66 | ||||
Jazz Gaming | 14.4 | 6.91 | ||||
Kings Guard Gaming | 9.87 | 4.98 | ||||
Knicks Gaming | 5.56 | 8.21 | ||||
LGE.Huya | 11.03 | 21 | ||||
Lakers Gaming | 10.61 | 12.15 | ||||
London Royal Ravens | 13.34 | 5.65 | ||||
London Spitfire Also known as LDN | 11.04 | 10.81 | ||||
Los Angeles Gladiators Also known as GLA | 15.1 | 21 | ||||
Los Angeles Guerrillas | 8.36 | 21 | ||||
Los Angeles Thieves | 4.52 | 21 | ||||
Los Angeles Valiant Also known as VAL | 9.37 | 14.37 | ||||
Luminosity Gaming | 9.42 | 14.59 | ||||
Made in Brazil Also known as MIBR | 21 | 13.8 | ||||
Magic Gaming | 4.77 | 21 | ||||
Manchester City Esports | 14.37 | 8.67 | ||||
Mavs Gaming | 6.07 | 11.86 | ||||
Minnesota ROKKR Also known as Minnesota RØKKR | 12.9 | 8.6 | ||||
Montreal Rebellion | 7.02 | 21 | ||||
NRG Esports | 21 | 21 | ||||
Natus Vincere | 17.95 | 21 | ||||
Nets GC | 21 | 21 | ||||
New York Excelsior Also known as NYE | 16.67 | 7.07 | ||||
New York Subliners | 16.65 | 17.72 | ||||
OG | 15.05 | 13.89 | ||||
OpTic Chicago | 12.2 | 19.93 | ||||
OpTic Gaming | 12.2 | 19.93 | ||||
OpTic Texas | 12.2 | 19.93 | ||||
PSG Esports | 11.23 | 4.65 | ||||
Pacers Gaming | 13.53 | 7.94 | ||||
Paris Eternal Also known as PAR | 10.89 | 9.58 | ||||
Paris Legion | 8.12 | 8.45 | ||||
Philadelphia Fusion Also known as PHI | 9.95 | 21 | ||||
Pistons GT | 5.56 | 4.83 | ||||
Raptors Uprising GC | 5.55 | 21 | ||||
Renegades | 12.2 | 7.58 | ||||
Rogue | 8.73 | 15.77 | ||||
RunAway | 7.71 | 13.76 | ||||
San Francisco Shock Also known as SFS | 21 | 9.12 | ||||
Schalke 04 | 8.45 | 8.45 | ||||
Seattle Surge | 7.13 | 15.31 | ||||
Sentinels | 5.71 | 19.23 | ||||
Seoul Dynasty Also known as SEO | 21 | 7.98 | ||||
Shanghai Dragons Also known as SHD | 5.16 | 21 | ||||
T-Wolves Gaming | 15.79 | 6.91 | ||||
T1 | 4.91 | 21 | ||||
Team CC | 7.24 | 5.1 | ||||
Team Envy | 15.79 | 4.89 | ||||
Team Secret | 21 | 21 | ||||
Team SoloMid | 21 | 21 | ||||
Team Vitality | 13.46 | 16.34 | ||||
Tempo Storm | 5.04 | 17.22 | ||||
The One Winner | 4.53 | 4.55 | ||||
Toronto Defiant Also known as TOR | 21 | 6.38 | ||||
Toronto Ultra | 6.7 | 21 | ||||
Trident Esports | 13.41 | 16.6 | ||||
Ultra Prime Academy | 14.19 | 13.8 | ||||
Uprising Academy | 9.53 | 15.19 | ||||
Vancouver Titans Also known as VAN | 14.4 | 4.59 | ||||
Virtus.pro | 7.8 | 17.85 | ||||
Warriors Gaming Squad | 5.56 | 8.56 | ||||
Washington Justice Also known as WAS | 8.74 | 12.02 | ||||
Wizards District Gaming | 14 | 4.72 | ||||
XL2 Academy | 16.67 | 5.88 | ||||
Free agent | X | X | 15.31 | |||
Retired | X | X | 15.31 |