AI-generated Key Takeaways
-
The
Color
enum represents named colors available in the Calendar service. -
To use an enum, you call its parent class, name, and property, like
CalendarApp.Color.BLUE
. -
The enum lists various color properties with their corresponding hex codes.
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 ). |