Swiss Transit Colors
This repo contains the vehicle route colors used by public transport operators in Switzerland. It's useful for public transport apps which deal with vehicle lines and their associated colors.
The config file covers only a bit of all swiss public transport operators for which I used manual color pickers to get the right colors. Contributions are welcome!
Examples from Swiss Transit App stations lookup
Colors overview: http://vasile.github.io/swiss-transit-colors/
Grab the config agency_colors.yml and start using in your project. Contributions back and pull requests are welcome!
If you operate changes to the file and you want to visualize them, run the following Ruby script
$ ruby /path-to/swiss-transit-colors/generate_html.rb
Example of output: http://vasile.github.io/swiss-transit-colors/