| Gumagamit ang padron na ito ng Lua:
|
Usage
{{PBA color|team name|number}}
{{PBA color cell|team name}}
returns a style that uses the primary color for the background and the secondary color for the font.
{{PBA color cell2|team name}}
returns a similar style but uses the tertiary and quaternary colors instead of the primary and secondary, respectively.
Examples
<span style="color: #{{PBA color|San Miguel Beermen|1}};">PBA: Liga ng mga Bida</span>
PBA:Liga ng mga Bida
<span style="{{PBA color cell|San Miguel Beermen}}">PBA: Liga ng mga Bida</span>
PBA: Liga ng mga Bida
<span style="{{PBA color cell2|San Miguel Beermen}}">PBA: Liga ng mga Bida</span>
PBA: Liga ng mga Bida
Contrast table
Current teamsTeam | 1 | 2 | 3 | 4 | Contrast |
---|
1/2 | 4/3 |
---|
Barangay Ginebra San Miguel
| | | | | 4.46 | 21 | Blackwater Bossing
| | | | | 6.1 | 21 | Converge FiberXers
| | | | | 10.61 | 2.36 | Magnolia Hotshots
| | | | | 11.49 | 8.19 | Meralco Bolts
| | | | | 2.86 | 11.17 | NLEX Road Warriors
| | | | | 7.2 | 2.86 | NorthPort Batang Pier
| | | | | 3.39 | 4.43 | Phoenix Super LPG Fuel Masters
| | | | | 2.36 | 13.13 | Rain or Shine Elasto Painters
| | | | | 10.45 | 4.03 | San Miguel Beermen
| | | | | 5.44 | 21 | Terrafirma Dyip
| | | | | 7.44 | 17.62 | TNT Tropang Giga
| | | | | 5.04 | 3.39 | default
| | | X | X | 15.31 | |
National TeamsTeam | 1 | 2 | 3 | 4 | Contrast |
---|
1/2 | 4/3 |
---|
Philippines National Basketball Team
| | | 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.
|
Defunct and old teamsTeam | 1 | 2 | 3 | 4 | Contrast |
---|
1/2 | 4/3 |
---|
Air21 Express
| | | | | 11.56 | 2.18 | Alaska Aces
| | | | | 4.74 | 21 | B-Meg Llamados
| | | | | 4.54 | 21 | Barako Energy Coffee Masters
| | | | | 21 | 4.5 | Barako Bull Energy
| | | | | 3.1 | 21 | Barako Bull Energy Boosters
| | | | | 3.1 | 21 | Barako Bull Energy Cola
| | | | | 21 | 4.34 | Barangay Ginebra Kings
| | | | | 4.46 | 21 | Burger King Whoppers
| | | | | 5.26 | 8.02 | Coca-Cola Tigers
| | | | | 6.1 | 21 | Crispa Redmanizers
| | | | | 11.35 | 6.46 | GlobalPort Batang Pier
| | | | | 1.23 | 21 | Great Taste Coffee Makers
| | | | | 2.94 | 7.52 | Kia Carnival
| | | | | 6.04 | 21 | Mahindra Enforcer
| | | | | 6.04 | 9.99 | Mahindra Floodbuster
| | | | | 21 | 4.66 | Manila Beer Brewmasters
| | | | | 10.95 | 6.23 | Petron Blaze Boosters
| | | | | 8.84 | 4.8 | Pop Cola Panthers
| | | | | 9.85 | 5.63 | Powerade Tigers
| | | | | 21 | 4.85 | Purefoods TJ Giants
| | | | | 11.49 | 4.37 | Red Bull Barako
| | | | | 3.1 | 4.83 | Shell Turbo Chargers
| | | | | 5.14 | 4.78 | Shopinas.com Clickers
| | | | | 2.37 | 3.33 | Sta. Lucia Realtors
| | | | | 15.38 | 2.14 | San Mig Super Coffee Mixers
| | | | | 4.85 | 14 | Star Hotshots
| | | | | 3.12 | 4.46 | Tanduay Rhum Masters
| | | | | 3.72 | 5.25 | Toyota Super Corollas
| | | | | 5.63 | 8.59 | U/Tex Wranglers
| | | | | 19.56 | 19.56 |
|