Google Calendar API - ColorId

Posted by Luke on the

Filed under technology, webdev

When you request a Google Calendar event it will come with a colorId which is either undefined if user didn't select a colour, or between one and 11 if they did. Since I needed these for Agander, I decided to collate these for the curious. These are the corresponding colours used in the Google Calendar app.

Color IDColor NameHex Code
undefinedWho knows#039be5
1Lavender#7986cb
2Sage#33b679
3Grape#8e24aa
4Flamingo#e67c73
5Banana#f6c026
6Tangerine#f5511d
7Peacock#039be5
8Graphite#616161
9Blueberry#3f51b5
10Basil#0b8043
11Tomato#d60000