Template:TPX colour
09A4EC
This template can be used to call the colour of TransPennine Express routes.
In order to call a line's colour, the code #{{TPX colour|name}}
is used (where name is replaced by the actual route name).
The "background" option is provided for use behind black text in infoboxes, etc, and is compliant with MOS:CONTRAST requirements for colour difference (574) and contrast ratio (12.39:1) at both small and large font sizes.
{{TPX colour|north}}
|
Sample: | 122050
| |
{{TPX colour|scottish}}
|
Sample: | 8e499b
| |
{{TPX colour|south}}
|
Sample: | 00aeef
| |
{{TPX colour|#default}}
|
Sample: | 09a4ec
| |
{{TPX colour|background}}
|
Sample: | 6cd3ff
|
The above documentation is transcluded from Template:TPX colour/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. |