Changes

Jump to navigation Jump to search
create in order to introduce contrast-compliant background colour option
{{Documentation subpage}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->

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

In order to call the default colour, the code <code> #&#123;&#123;LNW colour}}</code> 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 <code> #&#123;&#123;LNW colour|background}}</code>.

{| class="wikitable"
{{color template doc|#default}}
{{color template doc|background}}
|}

<includeonly>{{Sandbox other||
<!-- Categories go here and interwikis go in Wikidata. -->
[[Category:United Kingdom rail transport color templates]]
}}</includeonly>
Anonymous user

Navigation menu