Template:NCAA color
This template uses Lua: |
This template is for use with {{Infobox basketball biography/style}}, to conform to the format used by {{NBA color}} and others. It should not be used directly.
Usage
-
{{NCAA color|team|1}}
for the primary color -
{{NCAA color|team|2}}
for the secondary color -
{{NCAA color|team|3}}
for the tertiary color (if different from the primary)
Note, it is important that the primary and secondary color have sufficient contrast to be readable when used as the background and font color. This is especially important for readers with visual impairments. You can check the contrast using {{color contrast ratio}}. A ratio of greater than 4.5 or less than 0.22 is sufficient, but the larger or smaller the better.
See also
- To check if colors are known for the given team: {{GotCollegeColorsFor}}
- {{CollegePrimaryHex}} and {{CollegeSecondaryHex}}
- {{CollegePrimaryStyle}} and {{CollegeSecondaryStyle}}
- {{CollegePrimaryColorLink}} and {{CollegeSecondaryColorLink}}
- {{NCAA color}}, {{NCAA color cell}} and {{NCAA secondary color cell}}
- {{Infobox baseball biography/style}} and {{Infobox basketball biography/style}}
- {{Baseball primary style}} and {{Baseball secondary style}}
- {{NFLPrimaryColor}} and {{NFLSecondaryColor}}
- {{CBB roster/Header}}
- {{NBA color}}
The above documentation is transcluded from Template:NCAA color/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |