Padron:NBA color/doc
Itsura
| Isa itong subpahina ng dokumentasyon para sa Padron:NBA color. Maaari itong maglaman ng impormasyon sa paggamit, mga kategorya, at iba pang mga nilalaman na hindi bahagi ng orihinal na padron pahina. |
| Gumagamit ang padron na ito ng Lua: |
Usage
[baguhin ang wikitext]{{NBA color|team name|number}}
{{NBA color cell|team name}} returns a style that uses the primary color for the background and the secondary color for the font.
{{NBA color cell2|team name}} returns a similar style but uses the tertiary and quaternary colors instead of the primary and secondary, respectively.
Examples
[baguhin ang wikitext]<span style="color: #{{NBA color|Toronto Raptors|1}};">Lorem ipsum</span>
Lorem ipsum
<span style="{{NBA color cell|Toronto Raptors}}">Lorem ipsum</span>
Lorem ipsum
<span style="{{NBA color cell2|Toronto Raptors}}">Lorem ipsum</span>
Lorem ipsum
Table of colors
[baguhin ang wikitext]| Team | 1 | 2 | 3 | 4 | Contrast | |
|---|---|---|---|---|---|---|
| 1/2 | 4/3 | |||||
| Atlanta Hawks | 5.88 | 12.15 | ||||
| Boston Celtics | 4.84 | 7.66 | ||||
| Brooklyn Nets | 21 | 21 | ||||
| Charlotte Hornets | 5.17 | 16.14 | ||||
| Chicago Bulls | 5.55 | 21 | ||||
| Cleveland Cavaliers | 10.39 | 12.12 | ||||
| Dallas Mavericks | 6.07 | 11.86 | ||||
| Denver Nuggets | 15.89 | 10.01 | ||||
| Detroit Pistons | 9.55 | 5.88 | ||||
| Golden State Warriors | 9.55 | 5.52 | ||||
| Houston Rockets | 5.55 | 21 | ||||
| Indiana Pacers | 13.53 | 7.94 | ||||
| Los Angeles Clippers | 5.88 | 9.55 | ||||
| Los Angeles Lakers | 10.61 | 12.15 | ||||
| Memphis Grizzlies | 4.54 | 17.21 | ||||
| Miami Heat | 21 | 8.84 | ||||
| Milwaukee Bucks | 10.95 | 8.46 | ||||
| Minnesota Timberwolves | 15.79 | 6.91 | ||||
| New Orleans Pelicans | 15.96 | 4.5 | ||||
| New York Knicks | 5.56 | 8.21 | ||||
| Oklahoma City Thunder | 4.61 | 3.95 | ||||
| Orlando Magic | 4.77 | 21 | ||||
| Philadelphia 76ers | 5.56 | 4.35 | ||||
| Phoenix Suns | 16.14 | 6.03 | ||||
| Portland Trail Blazers | 21 | 4.84 | ||||
| Sacramento Kings | 9.87 | 4.98 | ||||
| San Antonio Spurs | 21 | 13.13 | ||||
| Toronto Raptors | 5.55 | 21 | ||||
| Utah Jazz | 14 | 6.71 | ||||
| Washington Wizards | 14 | 4.72 | ||||
| Team | 1 | 2 | 3 | 4 | Contrast | |
|---|---|---|---|---|---|---|
| 1/2 | 4/3 | |||||
| Agua Caliente Clippers | 5.88 | 9.55 | ||||
| Austin Spurs | 21 | 13.13 | ||||
| Canton Charge | 10.39 | 12.12 | ||||
| Capital City Go-Go | 14 | 4.72 | ||||
| College Park Skyhawks | 12.15 | 5.88 | ||||
| Delaware Blue Coats | 5.56 | 4.35 | ||||
| Erie BayHawks | 6.04 | 7.51 | ||||
| Fort Wayne Mad Ants | 13.53 | 7.94 | ||||
| Grand Rapids Drive | 5.88 | 9.55 | ||||
| Greensboro Swarm | 5.17 | 16.14 | ||||
| Iowa Wolves | 15.79 | 6.91 | ||||
| Lakeland Magic | 21 | 4.77 | ||||
| Long Island Nets | 5.56 | 4.35 | ||||
| Maine Red Claws | 4.35 | 5.55 | ||||
| Memphis Hustle | 4.68 | 4.83 | ||||
| Northern Arizona Suns | 16.14 | 6.03 | ||||
| Oklahoma City Blue | 4.61 | 3.95 | ||||
| Raptors 905 | 5.55 | 21 | ||||
| Rio Grande Valley Vipers | 5.55 | 11.51 | ||||
| Salt Lake City Stars | 14 | 10.07 | ||||
| Santa Cruz Warriors | 9.55 | 12.15 | ||||
| Sioux Falls Skyforce | 8.84 | 21 | ||||
| South Bay Lakers | 10.61 | 1.62 | ||||
| Stockton Kings | 21 | 9.87 | ||||
| Texas Legends | 6.07 | 8.1 | ||||
| Westchester Knicks | 5.56 | 8.21 | ||||
| Windy City Bulls | 5.55 | 21 | ||||
| Wisconsin Herd | 10.95 | 8.46 | ||||
| Team | 1 | 2 | 3 | 4 | Contrast | |
|---|---|---|---|---|---|---|
| 1/2 | 4/3 | |||||
| Western Conference | 5.88 | 5.88 | ||||
| Eastern Conference | 9.55 | 9.55 | ||||
| United States National Basketball Team | X | X | 15.31 | |||
| default | 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.