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}} or …|Cascades}} Sample:   288067
{{Amtrak color|Capitol Corridor}} or …|Capitol}} Sample:   e6ac11
{{Amtrak color|Pacific Surfliner}} or …|Pacific}} or …|Surfliner}} Sample:   5191cd
{{Amtrak color|#default}} Sample:   005480