This template can be used to call the color of WMATA Metro lines.

In order to call a line's color, the code #{{WMATA color|name}} is used (where name is replaced by the actual route color or abbreviation). Note that this template is not case sensitive: i.e. {{WMATA color|RD}} produces the same result as {{WMATA color|rd}}.

{{WMATA color|red}} or …|RD}} or …|R}} Sample:   E31837
{{WMATA color|blue}} or …|BL}} or …|B}} Sample:   0076C0
{{WMATA color|orange}} or …|OR}} or …|O}} Sample:   F7941D
{{WMATA color|yellow}} or …|YL}} or …|Y}} Sample:   FFD200
{{WMATA color|green}} or …|GR}} or …|G}} Sample:   00A94F
{{WMATA color|silver}} or …|SV}} or …|S}} Sample:   A1A2A1
{{WMATA color|bgcolor}} Sample:   241F20
{{WMATA color|thcolor}} Sample:   FFFFFF