Enum Color

  • 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.

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

PropertyTypeDescription
BLUEEnum Blue (#2952A3).
BROWNEnum Brown (#8D6F47).
CHARCOALEnum Charcoal (#4E5D6C).
CHESTNUTEnum Chestnut (#865A5A).
GRAYEnum Gray (#5A6986).
GREENEnum Green (#0D7813).
INDIGOEnum Indigo (#5229A3).
LIMEEnum Lime (#528800).
MUSTARDEnum Mustard (#88880E).
OLIVEEnum Olive (#6E6E41).
ORANGEEnum Orange (#BE6D00).
PINKEnum Pink (#B1365F).
PLUMEnum Plum (#705770).
PURPLEEnum Purple (#7A367A).
REDEnum Red (#A32929).
RED_ORANGEEnum Red-Orange (#B1440E).
SEA_BLUEEnum Sea Blue (#29527A).
SLATEEnum Slate (#4A716C).
TEALEnum Teal (#28754E).
TURQOISEEnum Turquoise (#1B887A).
YELLOWEnum 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 2025年12月11日 UTC.