Sub-calendars are defined by their respective colors. In the Calendars list, each calendar name is shown on a colored title bar. Events are color-coded to match the calendar(s) they're assigned to.
In some cases, it is ideal to have the calendar name showing in the event title as well.