الگو:NBA color
ظاهر
| این الگو از لوآ استفاده میکند: |
Usage
[ویرایش]{{الگو: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
[ویرایش]<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
[ویرایش]| تیم | ۱ | ۲ | ۳ | ۴ | تضاد رنگ | |
|---|---|---|---|---|---|---|
| ۱/۲ | ۴/۳ | |||||
| 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 | ۱۴ | ۴٫۷۲ | ||||
| تیم | ۱ | ۲ | ۳ | ۴ | تضاد رنگ | |
|---|---|---|---|---|---|---|
| ۱/۲ | ۴/۳ | |||||
| Agua Caliente Clippers | ۵٫۸۸ | ۹٫۵۵ | ||||
| Austin Spurs | ۲۱ | ۱۳٫۱۳ | ||||
| Canton Charge | ۱۰٫۳۹ | ۱۲٫۱۲ | ||||
| Capital City Go-Go | ۱۴ | ۴٫۷۲ | ||||
| College Park Skyhawks | ۲۱ | ۵٫۸۸ | ||||
| Delaware Blue Coats | ۵٫۵۶ | ۴٫۳۵ | ||||
| Erie BayHawks | ۶٫۰۴ | ۷٫۵۱ | ||||
| Fort Wayne Mad Ants | ۱۳٫۵۳ | ۷٫۹۴ | ||||
| Grand Rapids Drive | ۵٫۸۸ | ۹٫۵۵ | ||||
| Greensboro Swarm | ۵٫۱۷ | ۱۶٫۱۴ | ||||
| Iowa Wolves | ۱۵٫۷۹ | ۶٫۹۱ | ||||
| Lakeland Magic | ۲۱ | ۴٫۷۷ | ||||
| Long Island Nets | ۵٫۵۶ | ۴٫۳۵ | ||||
| Maine Red Claws | ۴٫۳۵ | ۵٫۵۵ | ||||
| Memphis Hustle | ۴٫۶۸ | ۴٫۸۳ | ||||
| Northern Arizona Suns | ۱۶٫۱۴ | ۶٫۰۳ | ||||
| Oklahoma City Blue | ۴٫۶۱ | ۳٫۹۵ | ||||
| Raptors 905 | ۵٫۵۵ | ۲۱ | ||||
| Rio Grande Valley Vipers | ۵٫۵۵ | ۱۱٫۵۱ | ||||
| Salt Lake City Stars | ۱۴ | ۱۰٫۰۷ | ||||
| Santa Cruz Warriors | ۹٫۵۵ | ۱۲٫۱۵ | ||||
| Sioux Falls Skyforce | ۲۱ | ۸٫۸۴ | ||||
| South Bay Lakers | ۱۰٫۶۱ | ۱۲٫۱۵ | ||||
| Stockton Kings | ۲۱ | ۹٫۸۷ | ||||
| Texas Legends | ۶٫۰۷ | ۱۳٫۹۳ | ||||
| Westchester Knicks | ۵٫۵۶ | ۸٫۲۱ | ||||
| Windy City Bulls | ۵٫۵۵ | ۲۱ | ||||
| Wisconsin Herd | ۱۰٫۹۵ | ۸٫۴۶ | ||||
| تیم | ۱ | ۲ | ۳ | ۴ | تضاد رنگ | |
|---|---|---|---|---|---|---|
| ۱/۲ | ۴/۳ | |||||
| Western Conference | ۵٫۸۸ | ۵٫۸۸ | ||||
| Eastern Conference | ۹٫۵۵ | ۹٫۵۵ | ||||
| United States National Basketball Team | × | × | ۱۵٫۳۱ | |||
| default | × | × | ۱۵٫۳۱ | |||
ستونهای عددی حاوی نسبت تضاد رنگ محاسبهشده برای رنگهای اول/دوم و چهارم/سوم هستند. هر عدد کمتر از ۳ دارای تضاد رنگ ضعیف است و باید در پودمان نگهدارندهٔ دادهها تغییر داده شود. برای اطلاعات بیشتر الگو:Color contrast ratio را ببینید.