def add_color_info(info):
    color_map = {
        'red': (0xcc, 0x33, 0x33),
        'green': (0x33, 0x99, 0x33),
        'blue': (0x33, 0x66, 0x99),
        'yellow': (0xcc, 0xcc, 0x33),
    }
    color_name = info.get('default_image_color', 'blue')
    try:
        info['_color'] = color_map[color_name]
    except __HOLE__:
        sys.exit("Error: color '%s' not defined" % color_name)
dataset/ETHPy150Open conda/constructor/constructor/imaging.py/add_color_info