Module:Sports color/esports
Appearance
This module is rated as ready for general use. It has reached a mature form and is thought to be relatively bug-free and ready for use wherever appropriate. It is ready to mention on help pages and other Wikipedia resources as an option for new users to learn. To reduce server load and bad output, it should be improved by sandbox testing rather than repeated trial-and-error editing. |
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 | ||||
AC Monza Team eSports Also known as Monza | 4.83 | 21 | ||||
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 | 21 | ||||
British Hurricane | 14.45 | 11.04 | ||||
Bucks Gaming | 10.95 | 8.46 | ||||
Carolina Royal Ravens | 4.54 | 21 | ||||
Cavs Legion GC | 10.39 | 7.53 | ||||
Celtics Crossover Gaming | 4.84 | 21 | ||||
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 | ||||
DUX Infinitos | 21 | 21 | ||||
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 | ||||
Eternal Fire | 9.9 | 8.59 | ||||
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 | 9.26 | 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 | ||||
Miami Heretics | 7.45 | 6.06 | ||||
Minnesota ROKKR Also known as Minnesota RØKKR | 12.9 | 4.1 | ||||
Misfits Gaming Also known as Misfits | 4.51 | 21 | ||||
Moist Esports Also known as Moist | 9.22 | 21 | ||||
Montreal Rebellion | 7.02 | 21 | ||||
NBL OZ Gaming | 10.95 | 6.34 | ||||
NRG Esports | 21 | 21 | ||||
NYXL Academy | 16.67 | 5.88 | ||||
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 | ||||
Ninjas in Pyjamas | 21 | 18.22 | ||||
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 | ||||
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 | ||||
Sentinels | 5.71 | 19.23 | ||||
Seoul Dynasty Also known as SEO | 21 | 7.98 | ||||
Seoul Infernal | 5.05 | 8.56 | ||||
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 Liquid | 16.27 | 21 | ||||
Team Secret | 21 | 21 | ||||
Team SoloMid Also known as TSM | 21 | 21 | ||||
Team Vitality | 21 | 19.56 | ||||
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 Surge | 7.13 | 15.31 | ||||
Vancouver Titans Also known as VAN | 14.4 | 4.59 | ||||
Vegas Eternal | 8.12 | 7.25 | ||||
Vegas Falcons | 2.45 | 21 | ||||
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 | ||||
Free agent | X | X | 15.31 | |||
Retired | X | X | 15.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.
return {
-- Multi-team --
["100 Thieves"] = {"E91C1C","FFFFFF","000000","FFFFFF"},
["Astralis"] = {"E60000","FFFFFF","000000","FFFFFF"},
["Bilibili Gaming"] = {"0341E2","FFFFFF","FEA12A","000000"},
["Complexity Gaming"] = {"002B5C","FFFFFF","A1A9AC","000000"},
["Counter Logic Gaming"] = {"00B5E2","000000","DC0031","FFFFFF"},
["Cloud9"] = {"05B4FF","000000","B1B1B1","000000"},
["Dignitas"] ={"FFCD00","000000","0F0F0F","FFFFFF"},
["Eternal Fire"] ={"00BFFF","000000","0000FF","FFFFFF"},
["Evil Geniuses"] = {"0C1220","FFFFFF","D1D3D4","000000"},
["FaZe Clan"] = {"E22F22","FFFFFF","000000","FFFFFF"},
["Fnatic"] = {"FF5900","000000","000000","FFFFFF"},
["FunPlus Phoenix"] = {"E90D01","FFFFFF","000000","FFFFFF"},
["Gen.G"] = {"000000", "FFFFFF", "AA8A00", "000000"},
["G2 Esports"] = {"000000","FFFFFF","E1251B","FFFFFF"},
["Godsent"] = {"ffcc25", "000000", "141e1f", "FFFFFF"},
["Guild Esports"] = {"013884","FFFFFF","d30a10","FFFFFF"},
["Immortals"] = {"01B2AA","000000","333331","FFFFFF"},
["Luminosity Gaming"] = {"3CBCDC","000000","082B44","FFFFFF"},
["Made in Brazil"] = {"000000","FFFFFF","cfd2d2","000000"},
["MIBR"] = "Made in Brazil",
["Manchester City Esports"] = {"00285D","FFFFFF","6CADDE","000000"},
["Misfits Gaming"] = {"EB160F","FFFFFF","000000","FFFFFF"},
["Misfits"] = "Misfits Gaming",
["Moist Esports"] = {"00B7FF","000000","000000","FFFFFF"},
["Moist"] = "Moist Esports",
["Natus Vincere"] = {"FFF200","000000","000000","FFFFFF"},
["Ninjas in Pyjamas"] = {"000000","FFFFFF","d8ff00","000000"},
["NRG Esports"] = {"000000","FFFFFF","FFFFFF","000000"},
["OG"] = {"022554", "ffffff", "ffcc00", "000000"},
["OpTic Gaming"] = {"9bd666","000000","090907","FFFFFF"},
["PSG Esports"] = {"003665","F5F5F5","D32A31","F5F5F5"},
["Renegades"] = {"6F090E","FFFFFF","CC9026","000000"},
["Rogue"] = {"00B1FF","000000","00253D","FFFFFF"},
["Schalke 04"] = {"004B9C","FFFFFF","004B9C","FFFFFF"},
["Sentinels"] = {"CE0037","FFFFFF","061014","FFFFFF"},
["T1"] = {"E2012D","FFFFFF","000000","FFFFFF"},
["Team Envy"] = {"0C2340","FFFFFF","0072CE","FFFFFF"},
["Team Liquid"] = {"06213C","FFFFFF","000000","FFFFFF"},
["Team Secret"] = {"000000","FFFFFF","000000","FFFFFF"},
["Team SoloMid"] = {"000000","FFFFFF","FFFFFF","000000"},
["TSM"] = "Team SoloMid",
["Team Vitality"] = {"000000","FFFFFF","FFFF00","000000"},
["Tempo Storm"] = {"0173BA","FFFFFF","1B1B1B","FFFFFF"},
["Trident Esports"] = {"1A2F50","FFFFFF","19FFF0","000000"},
["Virtus.pro"] = {"FF7433","000000","111821","FFFFFF"},
-- FIFA --
["AC Monza Team eSports"] = {"E4032E","FFFFFF","FFFFFF","000000"},
["Monza"] = "AC Monza Team eSports",
-- League of Legends --
["FlyQuest"] = {"17562C", "FFFFFF", "D19F2A","000000"},
["Golden Guardians"] = {"E0B158", "000000", "000000","FFFFFF"},
-- NBA 2K League --
["76ers GC"] = {"006BB6", "FFFFFF", "ED174C", "000000"},
["Blazer5 Gaming"] = {"000000", "FFFFFF", "E03A3E", "000000"},
["Bucks Gaming"] = {"00471B", "FFFFFF", "EEE1C6", "00471B"},
["Cavs Legion GC"] = {"6F263D", "FFFFFF", "BC945C", "000000"},
["Celtics Crossover Gaming"] = {"008348", "FFFFFF", "000000", "FFFFFF"},
["DUX Infinitos"] = {"000000", "FFFFFF", "FFFFFF", "000000"},
["Grizz Gaming"] = {"00285E", "FFFFFF", "6189B9", "000000"},
["Hawks Talon GC"] = {"C8102E", "FFFFFF", "FDB927", "000000"},
["Heat Check Gaming"] = {"000000", "FFFFFF", "98002E", "FFFFFF"},
["Hornets Venom GT"] = {"00788C", "FFFFFF", "1D1160", "FFFFFF"},
["Jazz Gaming"] = {"00285C", "FFFFFF", "F9A01B", "00285C"},
["Kings Guard Gaming"] = {"5A2D81", "FFFFFF", "63727A", "FFFFFF"},
["Knicks Gaming"] = {"006BB6", "FFFFFF", "F58426", "000000"},
["Lakers Gaming"] = {"552583", "FFFFFF", "FDB927", "000000"},
["Magic Gaming"] = {"0077C0", "FFFFFF", "000000", "FFFFFF"},
["Mavs Gaming"] = {"0064B1", "FFFFFF", "BBC4CA", "000000"},
["NBL OZ Gaming"] = {"00471B", "FFFFFF", "FDB927", "00471B"},
["Nets GC"] = {"000000", "FFFFFF", "FFFFFF", "000000"},
["Pacers Gaming"] = {"002D62", "FFFFFF", "FDBB30", "002D62"},
["Pistons GT"] = {"006BB6", "FFFFFF", "ED174C", "000000"},
["Raptors Uprising GC"] = {"CE1141", "FFFFFF", "000000", "FFFFFF"},
["T-Wolves Gaming"] = {"0C2340", "FFFFFF", "78BE20", "0C2340"},
["Warriors Gaming Squad"] = {"006BB6", "FFFFFF", "FDB927", "26282A"},
["Wizards District Gaming"] = {"002B5C", "FFFFFF", "E31837", "FFFFFF"},
-- OWL --
["Atlanta Reign"] = {"910F1B","FFFFFF","323232","FFFFFF"},
["ATL"] = "Atlanta Reign",
["Boston Uprising"] = {"174B97","FFFFFF","FFFFFF","000000"},
["BOS"] = "Boston Uprising",
["Chengdu Hunters"] = {"FD9D0A","000000","B4926A","000000"},
["CDH"] = "Chengdu Hunters",
["Dallas Fuel"] = {"032340","FFFFFF","0071CD","FFFFFF"},
["DAL"] = "Dallas Fuel",
["Florida Mayhem"] = {"E04AB6","000000","000000","FFFFFF"},
["FLA"] = "Florida Mayhem",
["Guangzhou Charge"] = {"122C42","FFFFFF","67A2B2","000000"},
["GZC"] = "Guangzhou Charge",
["Hangzhou Spark"] = {"FB93B2","000000","88ADDD","000000"},
["HZS"] = "Hangzhou Spark",
["Houston Outlaws"] = {"000000","FFFFFF","97D700","000000"},
["HOU"] = "Houston Outlaws",
["London Spitfire"] = {"59CAE8","000000","FFA64D","000000"},
["LDN"] = "London Spitfire",
["Los Angeles Gladiators"] = {"60269E","FFFFFF","000000","FFFFFF"},
["GLA"] = "Los Angeles Gladiators",
["Los Angeles Valiant"] = {"57B7EA","000000","FFD100","000000"},
["VAL"] = "Los Angeles Valiant",
["New York Excelsior"] = {"171C38","FFFFFF","0D4DCE","FFFFFF"},
["NYE"] = "New York Excelsior",
["Paris Eternal"] = {"303D56","FFFFFF","8D052D","FFFFFF"},
["PAR"] = "Paris Eternal",
["Philadelphia Fusion"] = {"F99E29","000000","000000","FFFFFF"},
["PHI"] = "Philadelphia Fusion",
["San Francisco Shock"] = {"000000","FFFFFF","A5ACAF","000000"},
["SFS"] = "San Francisco Shock",
["Seoul Dynasty"] = {"000000","FFFFFF","C29B00","000000"},
["SEO"] = "Seoul Dynasty",
["Seoul Infernal"] = {"D5253A","FFFFFF","C0A07B","000000"},
["Shanghai Dragons"] = {"D22730","FFFFFF","000000","FFFFFF"},
["SHD"] = "Shanghai Dragons",
["Toronto Defiant"] = {"000000","FFFFFF","C10021","FFFFFF"},
["TOR"] = "Toronto Defiant",
["Vancouver Titans"] = {"0A226C","FFFFFF","278722","FFFFFF"},
["Vegas Eternal"] = {"9C182F","FFFFFF","EE7623","000000"},
["VAN"] = "Vancouver Titans",
["Washington Justice"] = {"990034","FFFFFF","003768","FFFFFF"},
["WAS"] = "Washington Justice",
-- OWC --
["ATL Academy"] = {"910F1B","FFFFFF","323232","FFFFFF"},
["Uprising Academy"] = {"064196","FFFFFF","EEDF00","000000"},
["British Hurricane"] = {"1B2B3A","FFFFFF","59CAE8","000000"},
["NYXL Academy"] = {"171C38","FFFFFF","0F57EA","FFFFFF"},
["Fusion University"] = {"F99E29","000000","000000","FFFFFF"},
["LGE.Huya"] = {"DAB866","000000","000000","FFFFFF"},
["Gladiators Legion"] = {"611E9B","FFFFFF","000000","FFFFFF"},
["The One Winner"] = {"EC0E15","FFFFFF","2878C8","FFFFFF"},
["Team CC"] = {"00A1E6","000000","D42728","FFFFFF"},
["RunAway"] = {"FF4FF7","000000","00E6FF","000000"},
["Montreal Rebellion"] = {"A52B31","FFFFFF","000000","FFFFFF"},
["Eternal Academy"] = {"303D56","FFFFFF","8D052D","FFFFFF"},
["Ultra Prime Academy"] = {"122d42","FFFFFF","50e6e6","000000"},
-- CDL --
["Atlanta Faze"] = {"E22F22","FFFFFF","000000","FFFFFF"},
["Atlanta FaZe"] = "Atlanta Faze",
["Boston Breach"] = {"1A1F29","FFFFFF","02FF5B","000000"},
["Carolina Royal Ravens"] = {"007DB8","FFFFFF","000000","FFFFFF"},
["Chicago Huntsmen"] = {"20532E","FFFFFF","785d38","FFFFFF"},
["Dallas Empire"] = {"B4A269","000000","000000","FFFFFF"},
["Florida Mutineers"] = {"3BBFAD","000000","FE6148","000000"},
["London Royal Ravens"] = {"00109F","FFFFFF","CE0D2C","FFFFFF"},
["Los Angeles Guerrillas"] = {"6432A1","FFFFFF","000000","FFFFFF"},
["Los Angeles Thieves"] = {"E91C1C","FFFFFF","000000","FFFFFF"},
["Miami Heretics"] = {"FF6D18","000000","216D6B","FFFFFF"},
["Minnesota ROKKR"] = {"342766","FFFFFF","F22831","FFFFFF"},
["Minnesota RØKKR"] = "Minnesota ROKKR",
["New York Subliners"] = {"171C39","FFFFFF","FFF000","000000"},
["OpTic Chicago"] = {"9bd666","000000","090907","FFFFFF"},
["OpTic Texas"] = {"9bd666","000000","090907","FFFFFF"},
["Toronto Ultra"] = {"780CF2","FFFFFF","000000","FFFFFF"},
["Vancouver Surge"] = {"036077","FFFFFF","00F8CD","000000"},
["Vegas Falcons"] = {"01be6a","FFFFFF","000000","FFFFFF"},
}