Module:Sports color/baseball/doc

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

This is the data module used by Module:Sports color. Please test any changes in Module:Sports color/baseball/sandbox first.

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.

Be very careful when updating this module, as it is used in a large number of articles. Please test any changes in Module:Sports color/baseball/sandbox first.

Test table

mali niŋ
Team1234Contrast
1/24/3
Acereros de Monclova10.723.99
Adelaide Bite10.23.84
Alazanes de Granma16.144.03
Algodoneros de Unión Laguna16.6616.66
American League5.8915.49
Arizona Diamondbacks7.4314.29
Arizona Diamondbacks 1998thru20069.387.47
Arrows Ostrava15.694.98
Atlanta Braves14.685.55
Auckland Tuatara6.8615.94
Avispas de Santiago de Cuba421
Azucareros de Villa Clara213.65
Baltimore Orioles215.01
Beijing Tigers19.5619.56
Boston Americans15.4715.47
Boston Braves5.8815.79
Boston Red Sox5.7614.03
Bravos de León8.45.05
Bravos de Margarita7.372.85
Bravos de Reynosa5.225.22
Brisbane Bandits14.976.51
Brooklyn Dodgers11.8511.85
CTBC Brothers14.2721
California Angels12.836.75
Canberra Cavalry2.6521
Cangrejeros de Santurce14.963.95
Cardenales de Lara5.0621
Cardion Hroši Brno17.3217.32
Caribes de Anzoátegui3.115.93
Cazadores de Artemisa4.0615.84
Charleston Dirty Birds8.768.15
Charros de Jalisco10.8210.82
Chiba Lotte Marines2113.13
Chicago Cubs11.445.11
Chicago Dogs2.284.35
Chicago White Sox2113.13
Chunichi Dragons12.0712.07
Cincinnati Reds6.1321
Cleburne Railroaders18.679.12
Cleveland Indians
Also known as Cleveland Guardians
144.71
Cocodrilos de Matanzas3.723.72
Colorado Rockies15.3321
Criollos de Caguas6.233.6
Detroit Tigers13.94.74
Diablos Rojos del México5.645.64
Doosan Bears18.154.38
Draci Brno7.1121
Eagles Praha8.438.43
El Águila de Veracruz4.754.75
Elefantes de Cienfuegos5.0721
Estrellas Orientales7.297.29
Evansville Otters14.2810.95
Fargo-Moorhead RedHawks215.53
Florence Y'alls4.2310.83
Florida Marlins216.31
Fubon Guardians8.545.43
Fukuoka SoftBank Hawks13.8921
Gallos de Sancti Spíritus15.953.65
Gary SouthShore RailCats10.017.65
Gastonia Honey Hunters8.992.87
Gateway Grizzlies12.833.8
Generales de Durango3.821.55
Gigantes del Cibao10.0610.06
Guangdong Leopards10.3714.85
Guerreros de Oaxaca2121
Hanshin Tigers2114.37
Hanwha Eagles7.1521
Henan Elephants12.615.74
High Point Rockers2.9312.67
Hiroshima Toyo Carp4.812.03
Hokkaido Nippon-Ham Fighters
Also known as Hokkaido Nippon Ham Fighters
6.5610.54
Houston Astros
Also known as Houston Colt .45's
13.536.78
Houston Astros 1994thru199915.795.79
Houston Astros 2000thru20127.2911.35
Huracanes de Mayabeque10.3410.34
Indios de Guantánamo19.5619.56
Indios de Mayagüez7.092.21
Industriales16.1416.14
Industriales de Monterrey213.21
Jiangsu Pegasus9.819.81
Joliet Slammers8.162.63
KT Wiz214.41
Kane County Cougars7.987.3
Kansas City Athletics4.8113.98
Kansas City Monarchs13.746.09
Kansas City Royals9.438.01
Kia Tigers6.0821
Kiwoom Heroes8.927.37
Kotlářka Praha9.366
LG Twins215.93
Lake Country DockHounds10.667.15
Lake Erie Crushers5.495.49
Lamigo Monkeys6.838.78
Lancaster Barnstormers6.0410.05
Leones de Yucatán10.462.87
Leones del Caracas13.77.85
Leones del Escogido211.43
Lexington Counter Clocks8.244.84
Leñadores de Las Tunas5.073.99
Lincoln Saltdogs17.032.62
Long Island Ducks8.657.64
Los Angeles Angels
Also known as Anaheim Angels
Also known as Los Angeles Angels of Anaheim
6.7512.83
Los Angeles Dodgers7.147.14
Lotte Giants14.085.12
Mariachis de Guadalajara2121
Melbourne Aces7.0618.2
Miami Marlins217.32
Miami Marlins 2012thru2018217.15
Milwaukee Braves15.795.88
Milwaukee Brewers14.689.28
Milwaukee Milkmen2121
Minnesota Twins16.394.67
Minnesota Twins 1961thru197115.695.34
Minnesota Twins 1972thru197515.695.42
Minnesota Twins 1976thru19865.4215.69
Minnesota Twins 1987thru199315.695.34
Minnesota Twins 1994thru2021145.34
Montreal Expos11.854.85
NC Dinos7.84.98
National League15.495.89
Navegantes del Magallanes4.854.85
New Jersey Jackals621
New York Boulders8.443.97
New York Giants215.48
New York Mets12.986.69
New York Yankees15.299.56
Nishi Nippon Pirates16.2810.72
Oakland Athletics13.046.87
Oakland Athletics 1968thru19814.8113.98
Olmecas de Tabasco4.534.53
Orix Buffaloes20.318.85
Osaka Kintetsu Buffaloes15.844.17
Ottawa Titans215.25
Pericos de Puebla5.735.73
Perth Heat6.8921
Philadelphia Athletics10.64.72
Philadelphia Phillies4.5712.16
Philadelphia Phillies 1903thru19092121
Philadelphia Phillies 1910thru19106.936.93
Philadelphia Phillies 1934thru193715.475.88
Philadelphia Phillies 1938thru193815.479.91
Philadelphia Phillies 1939thru194515.7915.79
Philadelphia Phillies 1946thru19495.8815.47
Philadelphia Phillies 1950thru19744.574.57
Philadelphia Phillies 1975thru199110.3910.39
Philadelphia Phlllies 1911thru19334.574.57
Piratas de Campeche15.094.81
Piratas de Isla de la Juventud4.714.71
Pittsburgh Pirates2112.06
Québec Capitales6.796.79
Rakuten Monkeys6.536.53
Rieleros de Aguascalientes15.0610.23
SSG Landers5.575.57
Sabuesos de Holguín19.419.4
Saitama Seibu Lions11.056.71
Samsung Lions5.9111.54
San Diego Padres15.19.47
San Diego Padres 1969thru19798.995.99
San Diego Padres 1980thru19908.997.09
San Diego Padres 1991thru200315.795.48
San Diego Padres 2004thru201517.828.46
San Diego Padres 2016thru201613.538.41
San Diego Padres 2017thru201913.5313.53
San Francisco Giants216.66
Saraperos de Saltillo7.277.27
Schaumburg Boomers217.74
Seattle Mariners13.97.82
Seattle Mariners 1977thru199214.769.83
Seattle Pilots14.7610.13
Shanghai Golden Eagles3.064.38
Sichuan Dragons5.125.5
Sioux City Explorers215.54
Sioux Falls Canaries6.6716.43
Sokol Hluboká12.942.9
Southern Illinois Miners6.526.52
Southern Maryland Blue Crabs12.832.99
St. Louis Browns11.464.87
St. Louis Cardinals5.8417.62
Staten Island FerryHawks111.47
Sultanes de Monterrey16.074.29
Sussex County Miners10.8810.88
Sydney Blue Sox2.8521
TSG Hawks16.051.31
Tampa Bay Devil Rays13.0321
Tampa Bay Rays13.766.88
Tecolotes de los Dos Laredos
Also known as Tecolotes Dos Laredos
17.285.34
Tempo Praha15.164.92
Texas Rangers12.166.29
Tianjin Lions5.1421
Tiburones de La Guaira4.7710.76
Tigres de Aragua16.336.7
Tigres de Ciego de Ávila3.874
Tigres de Quintana Roo17.73.42
Tigres del Licey9.259.25
Tohoku Rakuten Golden Eagles10.3110.47
Tokyo Yakult Swallows5.018.01
Tomateros de Culiacán10.9510.95
Toronto Blue Jays8.7613.27
Toronto Blue Jays 1977thru19965.754.41
Toronto Blue Jays 1997thru200312.944.41
Toronto Blue Jays 2004thru20118.914.78
Toros de Camagüey19.454.02
Toros de Tijuana216.59
Toros del Este3.5721
Tri-City ValleyCats4.7210.34
Trois-Rivières Aigles216.8
Třebíč Nuclears6.236.23
Uni-President 7-Eleven Lions
Also known as Uni-President Lions
Also known as Uni-President 7-ᴇʟᴇᴠᴇn Lions
2.578.16
Vegueros de Pinar del Río8.278.27
Washington Nationals7.6814.96
Washington Senators145.55
Washington Wild Things7.9721
Wei Chuan Dragons5.185.18
Windy City ThunderBolts6.0221
Winnipeg Goldeyes5.8417.27
Yokohama DeNA BayStars
Also known as Yokohama BayStars
9.994.75
Yomiuri Giants321
York Revolution14.138.18
Águilas Cibaeñas13.4613.46
Águilas de Zulia8.78.7
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.