I see references to CSS but nobody seems to have posted the code.
I was reading the post to change the default color, when I read that CSS can be used to change the colors by category field in the calendar.
I see references to CSS but nobody seems to have posted the code.
I was reading the post to change the default color, when I read that CSS can be used to change the colors by category field in the calendar.
What version of SharePoint are you using?
SharePoint 2010 and SharePoint 2013 include functionality that can be leveraged to achieve this effect, with no code needed. It may not be a completely obvious solution when working with a single Calendar, though. The secret lies in the use of the Calendar Overlay.
More information you can use the Blog
Hope this helps, let us know.
I used something similar to this. I couldn't find the bookmark for the code I used but this is very close. http://www.sharepointjunkies.com/color-coded-calendar-sharepoint-online-using-javascript/
Found the one I used. https://blog.metrostarsystems.com/2014/07/16/sharepoint-2013-any-color-coded-calendar-step-by-step/