Module:Sports color/esports/doc

MyWikiBiz, Author Your Legacy — Saturday November 16, 2024
Jump to navigationJump to search

This is the documentation page for Module:Sports color/esports

Template:Module rating

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

Team1234Contrast
1/24/3
100 Thieves4.5221
76ers GC5.564.83
ATL Academy9.1812.82
Astralis4.8121
Atlanta Faze
Also known as Atlanta FaZe
4.521
Atlanta Reign
Also known as ATL
9.1812.82
Bilibili Gaming7.3510.35
Blazer5 Gaming214.84
Boston Uprising
Also known as BOS
8.4315.33
British Hurricane14.4511.04
Bucks Gaming10.958.46
Cavs Legion GC10.3912.12
Celtics Crossover Gaming4.847.66
Chengdu Hunters
Also known as CDH
107.26
Chicago Huntsmen8.986.14
Cloud98.989.79
Complexity Gaming148.79
Counter Logic Gaming8.715.14
Dallas Empire8.3121
Dallas Fuel
Also known as DAL
15.934.95
Dignitas13.9819.17
Eternal Academy10.899.58
Evil Geniuses18.713.98
FaZe Clan4.521
Florida Mayhem
Also known as FLA
5.8221
Florida Mutineers9.247.02
FlyQuest8.748.7
Fnatic6.6821
FunPlus Phoenix4.6421
Fusion University9.9521
G2 Esports214.69
Gen.G216.34
Gladiators Legion9.6921
Golden Guardians10.621
Grizz Gaming14.335.79
Guangzhou Charge
Also known as GZC
14.347.39
Hangzhou Spark
Also known as HZS
9.929.07
Hawks Talon GC5.8812.15
Heat Check Gaming218.84
Hornets Venom GT5.1716.14
Houston Outlaws
Also known as HOU
2112.04
Immortals7.9512.66
Jazz Gaming14.46.91
Kings Guard Gaming9.874.98
Knicks Gaming5.568.21
LGE.Huya11.0321
Lakers Gaming10.6112.15
London Royal Ravens13.345.65
London Spitfire
Also known as LDN
11.0410.81
Los Angeles Gladiators
Also known as GLA
15.121
Los Angeles Guerrillas8.3621
Los Angeles Thieves4.5221
Los Angeles Valiant
Also known as VAL
9.3714.37
Luminosity Gaming9.4214.59
Made in Brazil
Also known as MIBR
2113.8
Magic Gaming4.7721
Mavs Gaming6.0711.86
Minnesota ROKKR
Also known as Minnesota RØKKR
12.98.6
Montreal Rebellion7.0221
NRG Esports2121
Natus Vincere17.9521
Nets GC2121
New York Excelsior
Also known as NYE
16.677.07
New York Subliners16.6517.72
OG15.0513.89
OpTic Chicago12.219.93
PSG Esports11.234.65
Pacers Gaming13.537.94
Paris Eternal
Also known as PAR
10.899.58
Paris Legion8.128.45
Philadelphia Fusion
Also known as PHI
9.9521
Pistons GT5.564.83
Raptors Uprising GC5.5521
Renegades12.27.58
Rogue8.7315.77
RunAway7.7113.76
San Francisco Shock
Also known as SFS
219.12
Schalke 048.458.45
Seattle Surge7.1315.31
Seoul Dynasty
Also known as SEO
217.98
Shanghai Dragons
Also known as SHD
5.1621
T-Wolves Gaming15.796.91
T14.9121
Team CC7.245.1
Team Envy15.794.89
Team SoloMid2121
Team Vitality13.4616.34
Tempo Storm5.0417.22
The One Winner4.534.55
Toronto Defiant
Also known as TOR
216.38
Toronto Ultra6.721
Ultra Prime Academy14.1913.8
Uprising Academy9.5315.19
Vancouver Titans
Also known as VAN
14.44.59
Virtus.pro7.817.85
Warriors Gaming Squad5.568.56
Washington Justice
Also known as WAS
8.7412.02
Wizards District Gaming144.72
XL2 Academy16.675.88
Free agentXX15.31
RetiredXX15.31
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.