The color codes follows the Beijing Subway official map http://www.bjsubway.com/node/98