Enum Color
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
颜色
表示日历服务中可用的已命名颜色的枚举。
若要调用枚举,您可以调用其父类、名称和属性。例如
CalendarApp.Color.BLUE
。
属性
媒体资源 | 类型 | 说明 |
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 )。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003e\u003ccode\u003eColor\u003c/code\u003e is an enum representing the named colors available within the Calendar service.\u003c/p\u003e\n"],["\u003cp\u003eTo use a color, call it using the format: \u003ccode\u003eCalendarApp.Color.[COLOR_NAME]\u003c/code\u003e, for example, \u003ccode\u003eCalendarApp.Color.BLUE\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe 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.\u003c/p\u003e\n"]]],[],null,["# Enum Color\n\nColor\n\nAn enum representing the named colors available in the Calendar service.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCalendarApp.Color.BLUE`. \n\n### Properties\n\n| Property | Type | Description |\n|--------------|--------|-------------------------|\n| `BLUE` | `Enum` | Blue (`#2952A3`). |\n| `BROWN` | `Enum` | Brown (`#8D6F47`). |\n| `CHARCOAL` | `Enum` | Charcoal (`#4E5D6C`). |\n| `CHESTNUT` | `Enum` | Chestnut (`#865A5A`). |\n| `GRAY` | `Enum` | Gray (`#5A6986`). |\n| `GREEN` | `Enum` | Green (`#0D7813`). |\n| `INDIGO` | `Enum` | Indigo (`#5229A3`). |\n| `LIME` | `Enum` | Lime (`#528800`). |\n| `MUSTARD` | `Enum` | Mustard (`#88880E`). |\n| `OLIVE` | `Enum` | Olive (`#6E6E41`). |\n| `ORANGE` | `Enum` | Orange (`#BE6D00`). |\n| `PINK` | `Enum` | Pink (`#B1365F`). |\n| `PLUM` | `Enum` | Plum (`#705770`). |\n| `PURPLE` | `Enum` | Purple (`#7A367A`). |\n| `RED` | `Enum` | Red (`#A32929`). |\n| `RED_ORANGE` | `Enum` | Red-Orange (`#B1440E`). |\n| `SEA_BLUE` | `Enum` | Sea Blue (`#29527A`). |\n| `SLATE` | `Enum` | Slate (`#4A716C`). |\n| `TEAL` | `Enum` | Teal (`#28754E`). |\n| `TURQOISE` | `Enum` | Turquoise (`#1B887A`). |\n| `YELLOW` | `Enum` | Yellow (`#AB8B00`). |"]]