Enum EventColor

  • EventColor is an enum representing named event colors available in the Calendar service.

  • To use an enum, call its parent class, name, and property, for example, CalendarApp.EventColor.PALE_BLUE.

  • The available colors include Pale Blue, Pale Green, Mauve, Pale Red, Yellow, Orange, Cyan, Gray, Blue, Green, and Red, each corresponding to a color name in the Calendar UI.

An enum representing the named event colors available in the Calendar service.

To call an enum, you call its parent class, name, and property. For example, CalendarApp.EventColor.PALE_BLUE.

Properties

PropertyTypeDescription
PALE_BLUEEnum Pale Blue ("1"), referred to as "Lavender" in the Calendar UI.
PALE_GREENEnum Pale Green ("2"), referred to as "Sage" in the Calendar UI.
MAUVEEnum Mauve ("3"), referred to as "Grape" in the Calendar UI.
PALE_REDEnum Pale Red ("4"), referred to as "Flamingo" in the Calendar UI.
YELLOWEnum Yellow ("5"), referred to as "Banana" in the Calendar UI.
ORANGEEnum Orange ("6"), referred to as "Tangerine" in the Calendar UI.
CYANEnum Cyan ("7"), referred to as "Peacock" in the Calendar UI.
GRAYEnum Gray ("8"), referred to as "Graphite" in the Calendar UI.
BLUEEnum Blue ("9"), referred to as "Blueberry" in the Calendar UI.
GREENEnum Green ("10"), referred to as "Basil" in the Calendar UI.
REDEnum Red ("11"), referred to as "Tomato" in the Calendar UI.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-12 UTC.