I'm using the google calendar API with PHP. I know how to create a new calendar, but how do I set the color of the calendar I've created? I've been searching for hours. I've tried
$calendar -> setColor();
I've tried
$calendar -> setColorId();
both of which are undefined methods. I found documentation on how to modify the color definitions. And sent the color of an event with
$event -> setColorId();
But I can't find anything anywhere about how to set the color of a calendar.