Difference between revisions of "Template:LNW colour/doc"

From Railway Operation Simulator Wiki
Jump to navigation Jump to search
(create in order to introduce contrast-compliant background colour option)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 17:43, 5 April 2025

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