Jump to content

Template:Handball color/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

{{Handball color|team name|number}}

{{Handball color cell|team name}} returns a style that uses the primary color for the background and the secondary color for the font.

{{Handball color cell2|team name}} returns a similar style but uses the tertiary and quaternary colors instead of the primary and secondary, respectively.

Examples

[edit]

<span style="color: #{{Handball color|default|1}};">Lorem ipsum</span>

Lorem ipsum

<span style="{{Handball color cell|default}}">Lorem ipsum</span>

Lorem ipsum

<span style="{{Handball color cell2|default}}">Lorem ipsum</span>

Lorem ipsum

Table of colors

[edit]
Team1234Contrast
1/24/3
D.C. Diplomats THC
Also known as D.C. Diplomats THC (men)
Also known as D.C. Diplomats THC (women)
19.562.22
Northeast Team Handball League8.494.35
Portland Sasquatch THC1.4115.61
USMA-West Point Gold
Also known as USMA-West Point Gold (women)
Also known as USMA-West Point Gold (men)
13.421
USMA-West Point THC
Also known as USMA-West Point Black (women)
Also known as USMA-West Point Black (men)
Also known as USMA-West Point Black
13.421
United States National Handball Team14.254.71
United States Women's National Handball Team14.254.71
Western Team Handball League4.358.49
Free agentXX15.31
RetiredXX15.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.