while this is technically true, that doesn't mean there's an efficient algorithm for using only 4 colors. it's much easier to throw more colors at the problemledow wrote:4-colour theorem says that you should only need four different (hopefully harmonising) colours to display any such rail-markers.
![Smile :)](./images/smilies/icon_e_smile.gif)