This template is used to call the colour of York Region Transit and Viva lines. The following are included in this template.

In order to call a line's colour, the code #{{YRT color|colour}} is used (where colour is replaced by the actual colour). Note that this template is not case sensitive: i.e. {{YRT color|Blue}} produces the same result as {{YRT color|blue}}.


{{YRT color|Blue}} or …|Viva Blue}} or …|YRT-DarkBlue}} Sample:   0097cb
{{YRT color|GO}} or …|GOT}} or …|GO Transit}} Sample:   4a7729
{{YRT color|Green}} or …|Viva Green}} Sample:   c1d82e
{{YRT color|Orange}} or …|Viva Orange}} Sample:   ff9933
{{YRT color|Pink}} or …|Viva Pink}} Sample:   ff6699
{{YRT color|Purple}} or …|Viva Purple}} Sample:   9966cc
{{YRT color|Silver}} or …|Viva Silver}} Sample:   c0c0c0
{{YRT color|Yellow}} or …|Viva Yellow}} Sample:   ffcc00
{{YRT color|YRT-PaleBlue}} Sample:   daf2fc
{{YRT color|#default}} or …|YRT-BrightBlue}} Sample:   1ea0dc