Maybe this isimpler:
```
# reverse color dict
id_to_color =  dict((v, k) for k, v in colors.items())

# look up colors
colors = [id_to_color[i] for i in event_id]
```