Module:Sports color/esports
MyWikiBiz, Author Your Legacy — Saturday November 16, 2024
Jump to navigationJump to searchThis 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 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 | ||||
Golden Guardians | 10.6 | 21 | ||||
Grizz Gaming | 14.33 | 5.79 | ||||
Guangzhou Charge Also known as GZC | 14.34 | 7.39 | ||||
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 | ||||
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 | ||||
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 | ||||
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 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 | ||||
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 |
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"}, ["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"}, ["Immortals"] = {"01B2AA","000000","333331","FFFFFF"}, ["Luminosity Gaming"] = {"3CBCDC","000000","082B44","FFFFFF"}, ["Made in Brazil"] = {"000000","FFFFFF","cfd2d2","000000"}, ["MIBR"] = "Made in Brazil", ["Natus Vincere"] = {"FFF200","000000","000000","FFFFFF"}, ["NRG Esports"] = {"000000","FFFFFF","FFFFFF","000000"}, ["OG"] = {"022554", "ffffff", "ffcc00", "000000"}, ["PSG Esports"] = {"003665","F5F5F5","D32A31","F5F5F5"}, ["Renegades"] = {"6F090E","FFFFFF","CC9026","000000"}, ["Rogue"] = {"00B1FF","000000","00253D","FFFFFF"}, ["Schalke 04"] = {"004B9C","FFFFFF","004B9C","FFFFFF"}, ["T1"] = {"E2012D","FFFFFF","000000","FFFFFF"}, ["Team Envy"] = {"0C2340","FFFFFF","0072CE","FFFFFF"}, ["Team SoloMid"] = {"000000","FFFFFF","FFFFFF","000000"}, ["Team Vitality"] = {"FFC72C","000000","221C35","FFFFFF"}, ["Tempo Storm"] = {"0173BA","FFFFFF","1B1B1B","FFFFFF"}, ["Virtus.pro"] = {"FF7433","000000","111821","FFFFFF"}, -- 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", "FFB81C", "000000"}, ["Celtics Crossover Gaming"] = {"008348", "FFFFFF", "BB9753", "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"}, ["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","F5DE01","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"] = {"3C1053","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", ["Shanghai Dragons"] = {"D22730","FFFFFF","000000","FFFFFF"}, ["SHD"] = "Shanghai Dragons", ["Toronto Defiant"] = {"000000","FFFFFF","C10021","FFFFFF"}, ["TOR"] = "Toronto Defiant", ["Vancouver Titans"] = {"0A226C","FFFFFF","278722","FFFFFF"}, ["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"}, ["XL2 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", ["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"}, ["Minnesota ROKKR"] = {"342766","FFFFFF","00B4E0","000000"}, ["Minnesota RØKKR"] = "Minnesota ROKKR", ["New York Subliners"] = {"171C39","FFFFFF","FFF000","000000"}, ["OpTic Chicago"] = {"9bd666","000000","090907","FFFFFF"}, ["Paris Legion"] = {"9C182F","FFFFFF","F18A41","000000"}, ["Seattle Surge"] = {"036077","FFFFFF","00F8CD","000000"}, ["Toronto Ultra"] = {"780CF2","FFFFFF","000000","FFFFFF"}, }