This template is used to call the color of MBTA lines.

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

{{MBTA color|Blue}} Sample:   2F5DA6 Blue Line
{{MBTA color|Green}} Sample:   008150 Green Line
{{MBTA color|Orange}} Sample:   FD8A03 Orange Line
{{MBTA color|Red}} or …|Mattapan}} Sample:   FA2D27 Red Line
{{MBTA color|Silver}} Sample:   9A9C9D Silver Line
{{MBTA color|Boat}} Sample:   0066FF Boat
{{MBTA color|CapeFLYER}} or …|Cape}} Sample:   78BC42 CapeFLYER
{{MBTA color|Bus}} Sample:   FFFF00 MBTA Bus
{{MBTA color|Rail}} or …|Purple}} or …|#default}} Sample:   7B388C All MBTA Commuter Rail lines