Predloga:NBA barva
Videz
Usage
[uredi kodo]{{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
[uredi kodo]<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
[uredi kodo]| Team | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
| Atlanta Hawks | ||||
| Boston Celtics | ||||
| Brooklyn Nets | ||||
| Charlotte Hornets | ||||
| Chicago Bulls | ||||
| Cleveland Cavaliers | ||||
| Dallas Mavericks | ||||
| Denver Nuggets | ||||
| Detroit Pistons | ||||
| Golden State Warriors | ||||
| Houston Rockets | ||||
| Indiana Pacers | ||||
| Los Angeles Clippers | ||||
| Los Angeles Lakers | ||||
| Memphis Grizzlies | ||||
| Miami Heat | ||||
| Milwaukee Bucks | ||||
| Minnesota Timberwolves | ||||
| New Orleans Pelicans | ||||
| New York Knicks | ||||
| Oklahoma City Thunder | ||||
| Orlando Magic | ||||
| Philadelphia 76ers | ||||
| Phoenix Suns | ||||
| Portland Trail Blazers | ||||
| Sacramento Kings | ||||
| San Antonio Spurs | ||||
| Toronto Raptors | ||||
| Utah Jazz | ||||
| Washington Wizards |
| Team | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
| Austin Spurs | ||||
| Bakersfield Jam | ||||
| Canton Charge | ||||
| Delaware 87ers | ||||
| Erie BayHawks | ||||
| Fort Wayne Mad Ants | ||||
| Grand Rapids Drive | ||||
| Idaho Stampede | ||||
| Iowa Energy | ||||
| Los Angeles D-Fenders | ||||
| Maine Red Claws | ||||
| Oklahoma City Blue | ||||
| Reno Bighorns | ||||
| Rio Grande Valley Vipers | ||||
| Santa Cruz Warriors | ||||
| Sioux Falls Skyforce | ||||
| Texas Legends | ||||
| Westchester Knicks |
| Team | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
| Western Conference | ||||
| Eastern Conference | ||||
| United States National Basketball Team | ||||
| default |