AI-generated Key Takeaways
-
Color
is an enum representing the named colors available within the Calendar service. -
To use a color, call it using the format:
CalendarApp.Color.[COLOR_NAME]
, for example,CalendarApp.Color.BLUE
. -
The available colors include a variety of options like Blue, Brown, Charcoal, Chestnut, Gray, Green, Indigo, Lime, Mustard, Olive, Orange, Pink, Plum, Purple, Red, Red-Orange, Sea Blue, Slate, Teal, Turquoise, and Yellow, each with their specific hex code.
An enum representing the named colors available in the Calendar service.
To call an enum, you call its parent class, name, and property. For example,
CalendarApp.Color.BLUE
.
Properties
Property | Type | Description |
---|---|---|
BLUE | Enum |
#2952A3 ). |
BROWN | Enum |
#8D6F47 ). |
CHARCOAL | Enum |
#4E5D6C ). |
CHESTNUT | Enum |
#865A5A ). |
GRAY | Enum |
#5A6986 ). |
GREEN | Enum |
#0D7813 ). |
INDIGO | Enum |
#5229A3 ). |
LIME | Enum |
#528800 ). |
MUSTARD | Enum |
#88880E ). |
OLIVE | Enum |
#6E6E41 ). |
ORANGE | Enum |
#BE6D00 ). |
PINK | Enum |
#B1365F ). |
PLUM | Enum |
#705770 ). |
PURPLE | Enum |
#7A367A ). |
RED | Enum |
#A32929 ). |
RED_ORANGE | Enum |
#B1440E ). |
SEA_BLUE | Enum |
#29527A ). |
SLATE | Enum |
#4A716C ). |
TEAL | Enum |
#28754E ). |
TURQOISE | Enum |
#1B887A ). |
YELLOW | Enum |
#AB8B00 ). |