Colors
Different calendar providers expose event and calendar colors in different ways. Some providers let you pick any hexadecimal colour while others only allow you to choose from a palette of prechosen colours. Others don't support colors at all.
Response format
Colors will always be returned to you as hexadecimal color codes in the format "#RRGGBB". This is the same format used on the web and it is the native format that all the calendar providers use to describe their event and calendar colors. You can use these same hexadecimal color codes when making requests to the Calapi API.
Be careful when using hexadecimal colors in the API because most providers do not allow you to give events arbitrary colors. For this reason Calapi created various color aliases that are easy to use and work across providers See below for more details.
Many events returned from the API will have their color set to null
since
events by default don't have a colour at all and are just rendered the same
color as the calendar they belong to.
Calapi color aliases
These colors will work on all calendar providers. The table shows the available aliases and the color of the event in the calendars of the different providers.
Google colors
These color names will only work for Google Calendar events. The Calapi color aliases above will also work.