Is there a way to do the color coding by the field "Created by" I mean if the user A creates an event the color of the event will be Blue but if the user B creates an event the color of the event will be Green. Is there a way to do this?
You can use below mentioned link to change color code of calendar events.
In above link, they display to differentiate the category of events. you can change the column from category to Created By in filter of the view.