Template:Rail color/doc

This template returns an RGB hex code value from a subpage of Module:Adjacent stations or from a helper template of S-line.

Usage
or  must exist for this template to work.

For example, returns.