Template:LNW colour/doc

From Railway Operation Simulator Wiki
< Template:LNW colour
Revision as of 12:50, 17 December 2022 by wiki>XAM2175 (create in order to introduce contrast-compliant background colour option)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template can be used to call the colour of London Northwestern Railway routes.

In order to call the default colour, the code #{{LNW colour}} is used.

The "background" option is provided for use behind white text in infoboxes, etc, and is compliant with MOS:CONTRAST requirements for colour difference (587) and contrast ratio (7.16:1) at both small and large font sizes. Call this colour with the code #{{LNW colour|background}}.

{{LNW colour|#default}} Sample:   00BF6F
{{LNW colour|background}} Sample:   00644E