Module:Sports color/baseball/doc
Appearance
This is a documentation subpage for Module:Sports color/baseball. It may contain usage information, categories and other content that is not part of the original module page. |
This Lua module is used on approximately 35,000 pages and changes may be widely noticed. Test changes in the module's /sandbox or /testcases subpages, or in your own module sandbox. Consider discussing changes on the talk page before implementing them. |
This is the data module used by Module:Sports color. Please test any changes in Module:Sports color/baseball/sandbox first.
Format
[edit]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.
Warning
[edit]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
[edit]Team | 1 | 2 | 3 | 4 | Contrast | |
---|---|---|---|---|---|---|
1/2 | 4/3 | |||||
Acereros de Monclova | 10.72 | 3.99 | ||||
Adelaide Bite | 10.2 | 3.84 | ||||
Alazanes de Granma | 16.14 | 4.03 | ||||
Algodoneros de Unión Laguna | 16.66 | 16.66 | ||||
American League | 5.89 | 15.49 | ||||
Anaheim Angels 1997thru2001 | 14.55 | 4.87 | ||||
Arizona Diamondbacks | 7.43 | 9.71 | ||||
Arizona Diamondbacks 1998thru2006 | 9.38 | 7.47 | ||||
Arizona Diamondbacks 2007thru2023 | 7.43 | 14.29 | ||||
Arrows Ostrava | 15.69 | 4.98 | ||||
Athletics | 7.44 | 12.12 | ||||
Atlanta Braves | 14.68 | 5.55 | ||||
Atlanta Braves 1972thru1980 | 5.55 | 11.85 | ||||
Atlanta Braves 1981thru1986 | 10.6 | 5.42 | ||||
Auckland Tuatara | 6.86 | 15.94 | ||||
Avispas de Santiago de Cuba | 4 | 21 | ||||
Azucareros de Villa Clara | 21 | 3.65 | ||||
Baltimore Orioles | 21 | 5.01 | ||||
Baltimore Orioles 1954thru1965 | 21 | 7.21 | ||||
Beijing Tigers | 19.56 | 19.56 | ||||
Boston Americans | 15.47 | 15.47 | ||||
Boston Bees 1936thru1938 | 12.98 | 8.32 | ||||
Boston Bees 1939thru1940 | 4.85 | 12.98 | ||||
Boston Braves 1903thru1928 | 5.88 | 15.98 | ||||
Boston Braves 1929thru1935 | 5.88 | 21 | ||||
Boston Braves 1941thru1952 Also known as Boston Braves | 4.85 | 15.79 | ||||
Boston Red Sox | 5.76 | 14.03 | ||||
Boston Red Sox 1908thru1931 | 5.76 | 5.76 | ||||
Boston Red Sox 1932thru1974 | 14.03 | 5.76 | ||||
Boston Red Sox 1975thru1978 | 5.76 | 13.7 | ||||
Boston Red Sox 1979thru2008 | 5.76 | 14.03 | ||||
Boston Red Sox 2009thru2013 | 14.03 | 5.76 | ||||
Bravos de León | 8.4 | 5.05 | ||||
Bravos de Margarita | 7.37 | 2.85 | ||||
Bravos de Reynosa | 5.22 | 5.22 | ||||
Brisbane Bandits | 14.97 | 6.51 | ||||
Brooklyn Dodgers 1932thru1936 | 11.85 | 11.85 | ||||
Brooklyn Dodgers 1937thru1937 | 4.81 | 4.81 | ||||
Brooklyn Dodgers 1938thru1957 Also known as Brooklyn Dodgers | 11.85 | 11.85 | ||||
Brooklyn Robins 1911thru1928 | 11.85 | 11.85 | ||||
Brooklyn Robins 1929thru1930 | 11.85 | 5.88 | ||||
Brooklyn Robins 1931thru1931 | 11.85 | 11.85 | ||||
Brooklyn Superbas | 12.98 | 12.98 | ||||
CTBC Brothers | 14.27 | 21 | ||||
California Angels Also known as Los Angeles Angels 1961thru1965 | 17.39 | 6.28 | ||||
Canberra Cavalry | 2.65 | 21 | ||||
Cangrejeros de Santurce | 14.96 | 3.95 | ||||
Cardenales de Lara | 5.06 | 21 | ||||
Cardion Hroši Brno | 17.32 | 17.32 | ||||
Caribes de Anzoátegui | 3.1 | 15.93 | ||||
Cazadores de Artemisa | 4.06 | 15.84 | ||||
Charleston Dirty Birds | 8.76 | 8.15 | ||||
Charros de Jalisco | 10.82 | 10.82 | ||||
Chiba Lotte Marines | 21 | 13.13 | ||||
Chicago Cubs | 11.44 | 5.11 | ||||
Chicago Cubs 1903thru1910 | 21 | 21 | ||||
Chicago Cubs 1911thru1929 | 15.79 | 15.79 | ||||
Chicago Cubs 1930thru1936 | 15.79 | 5.11 | ||||
Chicago Dogs | 2.28 | 4.35 | ||||
Chicago White Sox | 21 | 13.13 | ||||
Chicago White Sox 1903thru1929 | 15.79 | 15.79 | ||||
Chicago White Sox 1930thru1948 | 15.79 | 5.88 | ||||
Chicago White Sox 1949thru1950 | 21 | 21 | ||||
Chicago White Sox 1951thru1963 | 21 | 5.88 | ||||
Chicago White Sox 1964thru1968 | 15.79 | 5.88 | ||||
Chicago White Sox 1969thru1975 | 11.85 | 5.88 | ||||
Chicago White Sox 1976thru1986 | 15.79 | 5.88 | ||||
Chicago White Sox 1987thru1990 | 15.47 | 5.88 | ||||
Chunichi Dragons | 12.07 | 12.07 | ||||
Cincinnati Reds | 6.13 | 21 | ||||
Cincinnati Reds 1903thru1930 | 5.88 | 5.88 | ||||
Cincinnati Reds 1931thru1936 | 5.88 | 15.49 | ||||
Cincinnati Reds 1937thru1955 | 5.88 | 15.79 | ||||
Cincinnati Reds 1956thru1960 | 5.88 | 5.88 | ||||
Cincinnati Reds 1961thru1967 | 5.88 | 15.79 | ||||
Cincinnati Reds 1968thru1998 | 5.89 | 5.89 | ||||
Cleburne Railroaders | 18.67 | 9.12 | ||||
Cleveland Guardians Also known as Cleveland Indians Also known as Cleveland Indians 1986thru2021 | 14 | 4.71 | ||||
Cleveland Indians 1915thru1932 | 14 | 14 | ||||
Cleveland Indians 1933thru1972 | 14 | 5.88 | ||||
Cleveland Indians 1973thru1985 | 6.6 | |||||
Cleveland Naps 1903thru1904 | 4.71 | 4.71 | ||||
Cleveland Naps 1905thru1905 | 14 | 14 | ||||
Cleveland Naps 1906thru1909 | 21 | 21 | ||||
Cleveland Naps 1910thru1914 | 14 | 14 | ||||
Cocodrilos de Matanzas | 3.72 | 3.72 | ||||
Colorado Rockies | 15.33 | 21 | ||||
Colorado Rockies 1993thru2016 | 10.65 | 21 | ||||
Conspiradores de Querétaro | 11.07 | 21 | ||||
Criollos de Caguas | 6.23 | 3.6 | ||||
Detroit Tigers | 13.9 | 4.74 | ||||
Diablos Rojos del México | 5.64 | 5.64 | ||||
Doosan Bears | 18.15 | 4.38 | ||||
Dorados de Chihuahua | 12.67 | 7.46 | ||||
Draci Brno | 7.11 | 21 | ||||
Eagles Praha | 8.43 | 8.43 | ||||
El Águila de Veracruz | 4.75 | 4.75 | ||||
Elefantes de Cienfuegos | 5.07 | 21 | ||||
Estrellas Orientales | 7.29 | 7.29 | ||||
Evansville Otters | 14.28 | 10.95 | ||||
Fargo-Moorhead RedHawks | 21 | 5.53 | ||||
Florence Y'alls | 4.23 | 10.83 | ||||
Florida Marlins | 21 | 6.31 | ||||
Fubon Guardians | 8.54 | 5.43 | ||||
Fukuoka SoftBank Hawks | 13.89 | 21 | ||||
Gallos de Sancti Spíritus | 15.95 | 3.65 | ||||
Gary SouthShore RailCats | 10.01 | 7.65 | ||||
Gastonia Honey Hunters | 8.99 | 2.87 | ||||
Gateway Grizzlies | 12.83 | 3.8 | ||||
Generales de Durango | 3.82 | 1.55 | ||||
Gigantes del Cibao | 10.06 | 10.06 | ||||
Guangdong Leopards | 10.37 | 14.85 | ||||
Guerreros de Oaxaca | 21 | 21 | ||||
Hanshin Tigers | 21 | 14.37 | ||||
Hanwha Eagles | 7.15 | 21 | ||||
Henan Elephants | 12.61 | 5.74 | ||||
High Point Rockers | 2.93 | 12.67 | ||||
Hiroshima Toyo Carp | 4.8 | 12.03 | ||||
Hokkaido Nippon-Ham Fighters Also known as Hokkaido Nippon Ham Fighters | 6.56 | 21 | ||||
Houston Astros | 13.53 | 6.78 | ||||
Houston Astros 1965thru1993 Also known as Houston Colt .45's | 16.54 | 4.69 | ||||
Houston Astros 1994thru1999 | 15.79 | 5.79 | ||||
Houston Astros 2000thru2012 | 7.29 | 11.35 | ||||
Huracanes de Mayabeque | 10.34 | 10.34 | ||||
Indios de Guantánamo | 19.56 | 19.56 | ||||
Indios de Mayagüez | 7.09 | 2.21 | ||||
Industriales | 16.14 | 16.14 | ||||
Industriales de Monterrey | 21 | 3.21 | ||||
Jiangsu Pegasus | 9.81 | 9.81 | ||||
Joliet Slammers | 8.16 | 2.63 | ||||
KT Wiz | 21 | 4.41 | ||||
Kane County Cougars | 7.98 | 7.3 | ||||
Kansas City Athletics 1955thru1962 | 15.79 | 5.88 | ||||
Kansas City Athletics 1963thru1967 Also known as Kansas City Athletics | 4.81 | 13.98 | ||||
Kansas City Monarchs | 13.74 | 6.09 | ||||
Kansas City Royals | 9.43 | 9.43 | ||||
Kansas City Royals 1969thru2001 | 14.37 | 14.37 | ||||
Kia Tigers | 6.08 | 21 | ||||
Kiwoom Heroes | 8.92 | 7.37 | ||||
Kotlářka Praha | 9.36 | 6 | ||||
LG Twins | 21 | 5.93 | ||||
Lake Country DockHounds | 10.66 | 7.15 | ||||
Lake Erie Crushers | 5.49 | 5.49 | ||||
Lamigo Monkeys | 6.83 | 8.78 | ||||
Lancaster Stormers | 6.04 | 10.05 | ||||
Leones de Yucatán | 10.46 | 2.87 | ||||
Leones del Caracas | 13.7 | 7.85 | ||||
Leones del Escogido | 21 | 1.43 | ||||
Lexington Counter Clocks | 8.24 | 4.84 | ||||
Leñadores de Las Tunas | 5.07 | 3.99 | ||||
Lincoln Saltdogs | 17.03 | 2.62 | ||||
Long Island Ducks | 8.65 | 7.64 | ||||
Los Angeles Angels Also known as Anaheim Angels Also known as Anaheim Angels 2002thru2004 Also known as Los Angeles Angels of Anaheim | 6.75 | 12.83 | ||||
Los Angeles Dodgers | 7.14 | 7.14 | ||||
Los Angeles Dodgers 1958thru1971 | 7.75 | 7.75 | ||||
Lotte Giants | 14.08 | 5.12 | ||||
Mariachis de Guadalajara | 21 | 21 | ||||
Melbourne Aces | 7.06 | 18.2 | ||||
Miami Marlins | 21 | 7.32 | ||||
Miami Marlins 2012thru2018 | 21 | 7.15 | ||||
Milwaukee Braves Also known as Atlanta Braves 1966thru1971 | 15.79 | 5.88 | ||||
Milwaukee Brewers | 14.68 | 9.28 | ||||
Milwaukee Brewers 1901 | 16.14 | 16.14 | ||||
Milwaukee Brewers 1970thru1977 | 14.76 | 10.13 | ||||
Milwaukee Brewers 1978thru1993 | 9.5 | 6.52 | ||||
Milwaukee Brewers 1994thru1999 | 15.79 | 5.37 | ||||
Milwaukee Brewers 2000thru2017 | 15.3 | 5.2 | ||||
Milwaukee Brewers 2018thru2019 | 16.85 | 6.16 | ||||
Milwaukee Milkmen | 21 | 21 | ||||
Minnesota Twins | 16.39 | 4.67 | ||||
Minnesota Twins 1961thru1971 | 15.69 | 5.34 | ||||
Minnesota Twins 1972thru1975 | 15.69 | 5.42 | ||||
Minnesota Twins 1976thru1986 | 5.42 | 15.69 | ||||
Minnesota Twins 1987thru1993 | 15.69 | 5.34 | ||||
Minnesota Twins 1994thru2021 | 14 | 5.34 | ||||
Montreal Expos | 11.85 | 4.85 | ||||
NC Dinos | 7.8 | 4.98 | ||||
National League | 15.49 | 5.89 | ||||
Navegantes del Magallanes | 4.85 | 4.85 | ||||
New Jersey Jackals | 6 | 21 | ||||
New York Boulders | 8.44 | 3.97 | ||||
New York Giants 1903thru1910 | 8.99 | 8.99 | ||||
New York Giants 1911thru1914 | 21 | 21 | ||||
New York Giants 1915thru1915 | 5.34 | 5.34 | ||||
New York Giants 1916thru1916 | 11.29 | 11.29 | ||||
New York Giants 1917thru1922 | 14 | 14 | ||||
New York Giants 1923thru1927 | 5.34 | 5.34 | ||||
New York Giants 1928thru1932 | 14 | 5.34 | ||||
New York Giants 1933thru1935 | 21 | 5.48 | ||||
New York Giants 1936thru1939 | 11.85 | 11.85 | ||||
New York Giants 1940thru1946 | 11.85 | 5.88 | ||||
New York Giants 1947thru1957 Also known as New York Giants | 21 | 5.48 | ||||
New York Highlanders 1903thru1908 | 21 | 21 | ||||
New York Highlanders 1909thru1910 | 15.29 | 5.88 | ||||
New York Highlanders 1911thru1912 | 15.29 | 15.29 | ||||
New York Mets | 12.98 | 6.69 | ||||
New York Mets 1962thru1992 | 11.85 | 7.21 | ||||
New York Yankees | 15.29 | 15.29 | ||||
New York Yankees 1913thru1914 | 21 | 21 | ||||
Nishi Nippon Pirates | 16.28 | 10.72 | ||||
Oakland Athletics 1968thru1981 | 4.81 | 13.98 | ||||
Oakland Athletics 1982thru2024 Also known as Oakland Athletics | 13.04 | 6.87 | ||||
Olmecas de Tabasco | 4.53 | 4.53 | ||||
Orix Buffaloes | 20.31 | 8.85 | ||||
Osaka Kintetsu Buffaloes | 15.84 | 4.17 | ||||
Ottawa Titans | 21 | 5.25 | ||||
Pericos de Puebla | 5.73 | 5.73 | ||||
Perth Heat | 6.89 | 21 | ||||
Philadelphia Athletics 1903thru1921 | 16.54 | 16.54 | ||||
Philadelphia Athletics 1922thru1928 | 15.47 | 15.47 | ||||
Philadelphia Athletics 1929thru1949 | 10.6 | 10.6 | ||||
Philadelphia Athletics 1950thru1950 | 10.6 | 7.06 | ||||
Philadelphia Athletics 1951thru1953 | 16.54 | 16.54 | ||||
Philadelphia Athletics 1954thru1954 Also known as Philadelphia Athletics | 10.6 | 5.88 | ||||
Philadelphia Phillies | 4.57 | 12.16 | ||||
Philadelphia Phillies 1903thru1909 | 21 | 21 | ||||
Philadelphia Phillies 1910thru1910 | 6.93 | 6.93 | ||||
Philadelphia Phillies 1934thru1937 | 15.47 | 5.88 | ||||
Philadelphia Phillies 1938thru1938 | 15.47 | 9.91 | ||||
Philadelphia Phillies 1939thru1945 | 15.79 | 15.79 | ||||
Philadelphia Phillies 1946thru1949 | 5.88 | 15.47 | ||||
Philadelphia Phillies 1950thru1974 | 4.57 | 4.57 | ||||
Philadelphia Phillies 1975thru1991 | 10.39 | 10.39 | ||||
Philadelphia Phlllies 1911thru1933 | 4.57 | 4.57 | ||||
Piratas de Campeche | 15.09 | 4.81 | ||||
Piratas de Isla de la Juventud | 4.71 | 4.71 | ||||
Pittsburgh Pirates | 21 | 12.06 | ||||
Pittsburgh Pirates 1903thru1946 | 10.55 | 4.72 | ||||
Pittsburgh Pirates 1947thru1947 | 16.54 | 4.72 | ||||
Pittsburgh Pirates 1948thru1970 | 21 | 12.06 | ||||
Pittsburgh Pirates 1971thru1976 | 21 | 6.32 | ||||
Québec Capitales | 6.79 | 6.79 | ||||
Rakuten Monkeys | 6.53 | 6.53 | ||||
Rieleros de Aguascalientes | 15.06 | 10.23 | ||||
SSG Landers | 5.57 | 5.57 | ||||
Sabuesos de Holguín | 19.4 | 19.4 | ||||
Saitama Seibu Lions | 11.05 | 6.71 | ||||
Samsung Lions | 5.91 | 11.54 | ||||
San Diego Padres | 15.1 | 9.47 | ||||
San Diego Padres 1969thru1984 | 8.99 | 5.99 | ||||
San Diego Padres 1985thru1990 | 14.58 | 5.48 | ||||
San Diego Padres 1991thru2003 | 15.79 | 5.48 | ||||
San Diego Padres 2004thru2011 | 17.82 | 8.46 | ||||
San Diego Padres 2012thru2015 | 17.82 | 17.82 | ||||
San Diego Padres 2016thru2016 | 13.53 | 8.41 | ||||
San Diego Padres 2017thru2019 | 13.53 | 13.53 | ||||
San Francisco Giants | 21 | 6.66 | ||||
San Francisco Giants 1958thru1972 | 21 | 5.48 | ||||
San Francisco Giants 1973thru1982 | 21 | 7.21 | ||||
San Francisco Giants 1983thru1999 | 21 | 5.48 | ||||
Saraperos de Saltillo | 7.27 | 7.27 | ||||
Schaumburg Boomers | 21 | 7.74 | ||||
Seattle Mariners | 13.9 | 7.82 | ||||
Seattle Mariners 1977thru1992 | 14.76 | 9.83 | ||||
Seattle Pilots | 14.76 | 10.13 | ||||
Shanghai Golden Eagles | 3.06 | 4.38 | ||||
Sichuan Dragons | 5.12 | 5.5 | ||||
Sioux City Explorers | 21 | 5.54 | ||||
Sioux Falls Canaries | 6.67 | 16.43 | ||||
Sokol Hluboká | 12.94 | 2.9 | ||||
Southern Illinois Miners | 6.52 | 6.52 | ||||
Southern Maryland Blue Crabs | 12.83 | 2.99 | ||||
St. Louis Browns | 11.46 | 4.87 | ||||
St. Louis Cardinals | 5.84 | 17.62 | ||||
St. Louis Cardinals 1903thru1921 | 5.84 | 5.84 | ||||
St. Louis Cardinals 1922thru1935 | 5.84 | 13.6 | ||||
St. Louis Cardinals 1936thru1939 | 5.84 | 11.41 | ||||
Staten Island FerryHawks | 11 | 1.47 | ||||
Sultanes de Monterrey | 16.07 | 4.29 | ||||
Sussex County Miners | 10.88 | 10.88 | ||||
Sydney Blue Sox | 2.85 | 21 | ||||
TSG Hawks | 16.05 | 21 | ||||
Tampa Bay Devil Rays 1998thru2000 | 21 | 16.27 | ||||
Tampa Bay Devil Rays 2001thru2007 | 10.84 | 15.49 | ||||
Tampa Bay Rays | 13.76 | 6.88 | ||||
Tecolotes de los Dos Laredos Also known as Tecolotes Dos Laredos | 17.28 | 5.34 | ||||
Tempo Praha | 15.16 | 4.92 | ||||
Texas Rangers | 12.16 | 6.29 | ||||
Texas Rangers 1972thru1993 | 10.6 | 4.85 | ||||
Texas Rangers 1994thru2002 | 6.29 | 12.16 | ||||
Tianjin Lions | 5.14 | 21 | ||||
Tiburones de La Guaira | 4.77 | 10.76 | ||||
Tigres de Aragua | 16.33 | 6.7 | ||||
Tigres de Ciego de Ávila | 3.87 | 4 | ||||
Tigres de Quintana Roo | 17.7 | 3.42 | ||||
Tigres del Licey | 9.25 | 9.25 | ||||
Tohoku Rakuten Golden Eagles | 10.31 | 10.47 | ||||
Tokyo Yakult Swallows | 5.01 | 8.01 | ||||
Tomateros de Culiacán | 10.95 | 10.95 | ||||
Toronto Blue Jays | 8.76 | 13.27 | ||||
Toronto Blue Jays 1977thru1996 | 5.75 | 4.41 | ||||
Toronto Blue Jays 1997thru2003 | 12.94 | 4.41 | ||||
Toronto Blue Jays 2004thru2011 | 8.91 | 4.78 | ||||
Toros de Camagüey | 19.45 | 4.02 | ||||
Toros de Tijuana | 21 | 6.59 | ||||
Toros del Este | 3.57 | 21 | ||||
Tri-City ValleyCats | 4.72 | 10.34 | ||||
Trois-Rivières Aigles | 21 | 6.8 | ||||
Třebíč Nuclears | 6.23 | 6.23 | ||||
Uni-President 7-Eleven Lions Also known as Uni-President Lions Also known as Uni-President 7-ᴇʟᴇᴠᴇn Lions | 2.57 | 8.16 | ||||
Vegueros de Pinar del Río | 8.27 | 8.27 | ||||
Washington Nationals | 7.68 | 14.96 | ||||
Washington Senators | 14 | 5.34 | ||||
Washington Senators 1961thru1971 | 5.88 | 15.79 | ||||
Washington Wild Things | 7.97 | 21 | ||||
Wei Chuan Dragons | 5.18 | 5.18 | ||||
Windy City ThunderBolts | 6.02 | 21 | ||||
Winnipeg Goldeyes | 5.84 | 17.27 | ||||
Yokohama DeNA BayStars Also known as Yokohama BayStars | 9.99 | 4.75 | ||||
Yomiuri Giants | 3 | 21 | ||||
York Revolution | 14.13 | 8.18 | ||||
Águilas Cibaeñas | 13.46 | 13.46 | ||||
Águilas de Zulia | 8.7 | 8.7 | ||||
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.