Enum Color
Color
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 |
Blue (#2952A3 ). |
BROWN | Enum |
Brown (#8D6F47 ). |
CHARCOAL | Enum |
Charcoal (#4E5D6C ). |
CHESTNUT | Enum |
Chestnut (#865A5A ). |
GRAY | Enum |
Gray (#5A6986 ). |
GREEN | Enum |
Green (#0D7813 ). |
INDIGO | Enum |
Indigo (#5229A3 ). |
LIME | Enum |
Lime (#528800 ). |
MUSTARD | Enum |
Mustard (#88880E ). |
OLIVE | Enum |
Olive (#6E6E41 ). |
ORANGE | Enum |
Orange (#BE6D00 ). |
PINK | Enum |
Pink (#B1365F ). |
PLUM | Enum |
Plum (#705770 ). |
PURPLE | Enum |
Purple (#7A367A ). |
RED | Enum |
Red (#A32929 ). |
RED_ORANGE | Enum |
Red-Orange (#B1440E ). |
SEA_BLUE | Enum |
Sea Blue (#29527A ). |
SLATE | Enum |
Slate (#4A716C ). |
TEAL | Enum |
Teal (#28754E ). |
TURQOISE | Enum |
Turquoise (#1B887A ). |
YELLOW | Enum |
Yellow (#AB8B00 ). |
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 2023-09-28 UTC.
[null,null,["Last updated 2023-09-28 UTC."],[[["`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."]]],[]]