{{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 teams
Team
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 Teams
Team
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.