Module:Sports color/volleyball

From Stiles Wiki
Jump to navigation Jump to search

Usage

{{#invoke:Sports color/volleyball|function_name}}

Test table

Team1234Contrast
1/24/3
Amy's Kitchen Perpetual10.635.14
BaliPure Purest Water Defenders716.63
Chooks-to-Go Tacloban Fighting Warays8.4716.8
Cignal HD Spikers4.4617.43
Creamline Cool Smashers3.787.88
DLSU Lady Spikers5.145.14
F2 Logistics Cargo Movers19.5619.56
Foton Toplanders8.594.83
Foton Tornadoes8.594.83
Foton Tornadoes Blue Energy11.1621
Generika Lifesavers8.596.1
Generika-Ayala Lifesavers3.5211.16
Marinerang Pilipina Lady Skippers8.594
New San Jose Builders Victorias10.955.25
PLDT Home Fibr421
PayMaya High Flyers7.757.44
Petro Gazz Angels6.464.34
Petron Blaze Spikers16.015.25
Petron Tri-Activ Spikers16.015.25
Philippine Super Liga All-Stars16.015.25
RC Cola-Army Troopers15.314.25
Smart Prepaid Giga Hitters3.945.33
Sta. Lucia Lady Realtors10.2310.23
Standard Insurance-Navy Corvettes8.5914.97
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.

return {
	---PREMIER VOLLEYBALL LEAGUE (PHILIPPINES)---
	["Creamline Cool Smashers"] = {"FF007F", "ffffff", "2e5090", "ffffff"},
	["Chooks-to-Go Tacloban Fighting Warays"] = {"0008FF", "ffffff", "FFE804", "000000"},
	["BaliPure Purest Water Defenders"] = {"0099ff", "000000", "cce9fc", "000000"},
	["PayMaya High Flyers"] = {"33A2FF", "000000", "15B22D", "000000"},
	["Petro Gazz Angels"] = {"0A6E11", "ffffff", "E53232", "ffffff"},

	---UAAP---
	["DLSU Lady Spikers"] = {"008000", "ffffff", "ffffff", "008000"},

	---PSL---
	["Amy's Kitchen Perpetual"] = {"FFA500", "000000", "008000", "ffffff"},
	["Cignal HD Spikers"] = {"e9202a", "ffffff", "fdee21", "000000"},
	["F2 Logistics Cargo Movers"] = {"FFFF00", "000000", "000000", "FFFF00"},
	["Foton Toplanders"] = {"0000FF", "ffffff", "B0C4DE", "0000FF"},
	["Foton Tornadoes"] = {"0000FF", "ffffff", "B0C4DE", "0000FF"},
	["Foton Tornadoes Blue Energy"] = {"0000CD", "ffffff", "000000", "ffffff"},
	["Generika-Ayala Lifesavers"] = {"EC5800", "ffffff", "0000CD", "ffffff"},
	["Generika Lifesavers"] = {"0000FF", "ffffff", "FF4500", "000000"},
	["Marinerang Pilipina Lady Skippers"] = {"0000ff", "ffffff", "ff0000", "ffffff"},
	["New San Jose Builders Victorias"] = {"800000", "ffffff", "ff0000", "000000"},
	["Petron Blaze Spikers"] = {"000080", "ffffff", "ff0000", "000000"},
	["Petron Tri-Activ Spikers"] = {"000080", "ffffff", "ff0000", "000000"},
	["Philippine Super Liga All-Stars"] = {"000080", "ffffff", "ff0000", "000000"},
	["PLDT Home Fibr"] = {"ff0000", "ffffff", "ffffff", "000000"},
	["RC Cola-Army Troopers"] = {"00008B", "ffffff", "FFFF00", "00008B"},
	["Smart Prepaid Giga Hitters"] = {"0b9444", "ffffff", "0b9444", "000000"},
	["Sta. Lucia Lady Realtors"] = {"2A4826", "ffffff", "ffffff", "2A4826"},
	["Standard Insurance-Navy Corvettes"] = {"0000FF", "ffffff", "FFD700", "000000"},
}