Skip to content

Repo hosting vehicle line colors used by public transport operators in Switzerland

Notifications You must be signed in to change notification settings

vasile/swiss-transit-colors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swiss Transit Colors

TL;DR http://vasile.github.io/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

Aarau Lausanne Oerlikon Lugano

Colors overview: http://vasile.github.io/swiss-transit-colors/

Usage

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/

Contributors

Contact

If you have additional questions you can use this form to contact me or just ping me on Twitter

About

Repo hosting vehicle line colors used by public transport operators in Switzerland

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published