Difference between revisions of "Template:DLR color"

From blackwiki
Jump to navigation Jump to search
imported>Useddenim
({{documentation}})
imported>Davey2010
(Changed to 00645F as per consensus at https://en.wikipedia.org/w/index.php?title=Wikipedia_talk:WikiProject_UK_Railways&diff=969288744&oldid=969287977#DLR_colours >> Previous colour failed WCAG AA and WCAG AAA.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{#switch:{{{1}}}
 
{{#switch:{{{1}}}
  | #default=00AFAD<!-- "DLR" RGB for screen colour from http://www.tfl.gov.uk/assets/downloads/corporate/tfl-colour-standard-issue03.pdf -->
+
  | #default=00645F
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 14:39, 24 July 2020

00645F

Template documentation[view] [edit] [history] [purge]

This template is used to call the Docklands Light Railway colour.

In order to call the colour, the code #{{DLR color}} is used.

{{DLR color}} Sample:   00645f 'blue stone' (very dark cyan)

Note that the official colour is Template:Rbox (Pantone 158, as defined by the Elizabeth line Design IdiomTemplate:Url), but the RGB colour specified in this template is the lightest hue that passes the Web Content Accessibility Guidelines AAA contrast requirement.

See also