This template can be used to call the color of Amtrak routes.

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

{{Amtrak color|Amtrak Cascades}} ella …|Cascades}} Sample:   288067
{{Amtrak color|Capitol Corridor}} ella …|Capitol}} Sample:   e6ac11
{{Amtrak color|Pacific Surfliner}} ella …|Pacific}} ella …|Surfliner}} Sample:   5191cd
{{Amtrak color|#default}} Sample:   005480