Difference between revisions of "Template:DLR color"

From blackwiki
Jump to navigation Jump to search
imported>Nick Mitchell 98
(Correcting to Pantone 158 as defined by the Elizabeth line Design Idiom http://content.tfl.gov.uk/elizabeth-line-design-idiom.pdf)
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.)
 
Line 1: Line 1:
 
{{#switch:{{{1}}}
 
{{#switch:{{{1}}}
  | #default=00b2A9
+
  | #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