Ng cordova calendar plugin- add color to events

How to give color to events in calendar?.In my app i want to show three different types of event.How to give different color to each event types