Auto Line Color for Cities: Skylines

Here you can download Auto Line Color mod for Cities: Skylines. Its full description is below. Visit our blog to find out how to install the mod.

The content of the mod has been downloaded and repackaged without any changes from the original source. We are not responsible for technical problems of the game or mod, but we guarantee the absence of malicious code

Author: enkafan

Size (unpacked): 0.043 MB

Updated: 24 Sep, 2015 @ 2:42pm

Tags: Mod

Automatically picks colors and names for bus, metro and train lines. Compatible with Extended Public Transport UI

After Dark Updates

Bug fixes and features have been pushed! Thanks to techfreek you can set the options in the regular Options dialog. There were some compatability problems that caused the game to crash, hang or just plain not work. Those seem to be ironed out with limited testing this afternoon. This release should definitely be considered beta.


New color picking strategy and naming are now supported, plus customization of the color lists.

By default it will stick to the default line hues, but you can customize this. Settings are stored in the Cities Skylines root

After running the mod for the first time, the default settings will be placed here. Edit these and restart your game to use the new values.


<?xml version="1.0" encoding="utf-8"?> <Configuration xmlns:xsi="" xmlns:xsd=""> <ColorStrategy>RandomColor</ColorStrategy> <NamingStrategy>Districts</NamingStrategy> </Configuration>

Valid values for ColorStrategy are RandomColor, CategorisedColor and RandomHue. RandomColor will pick from all.txt, RandomHue will pick from the appropriate blue, orange and green text files.

Categorised Color Strategy

This strategy colorises using a deterministic sequence based on 18 base hues (3 variations on each of the primary and secondary colors). The next hue is chosen to be reasonably far away from the previous one.

Buses are pale. There are 3 levels of paleness, as I tend to have a lot of buses.
Metro are bright. There are 2 levels of brightness (full bright, and partly darkened).
Trains are dark.
Once the colors are exhausted the sequence repeats.

Valid values for NamingStragey are None, London or Districts. None will not set the names of the lines. London is a naming strategy inspired by transport naming schemes in London.

* Buses are named like: "9 Aldwych", "33 Elm Heights", "CH4 Local"
* Metro are named like: "Beech Line", "Elm & Oak Line", "Juliet Line"
* Trains are named like: "1X45 Westvalley", "2G42 Elm to Grove", "3J19 Sycamore Rail"

Source is available at . PR gladly accepted.

rtbortolin for better algorithm for picking the random colors
Mark Thomas for London naming and categorized colors