Enum Color
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Cor
Um enum que representa as cores nomeadas disponíveis no serviço Agenda.
Para chamar um tipo enumerado, chame a classe, o nome e a propriedade pai dele. Por exemplo,
CalendarApp.Color.BLUE
.
Propriedades
Propriedade | Tipo | Descrição |
BLUE | Enum |
Azul (#2952A3 ). |
BROWN | Enum |
Marrom (#8D6F47 ). |
CHARCOAL | Enum |
Carvão (#4E5D6C ). |
CHESTNUT | Enum |
Castanhas (#865A5A ). |
GRAY | Enum |
Cinza (#5A6986 ). |
GREEN | Enum |
Verde (#0D7813 ). |
INDIGO | Enum |
Índigo (#5229A3 ). |
LIME | Enum |
Verde-limão (#528800 ). |
MUSTARD | Enum |
Mostarda (#88880E ). |
OLIVE | Enum |
Verde-oliva (#6E6E41 ). |
ORANGE | Enum |
Laranja (#BE6D00 ). |
PINK | Enum |
Rosa (#B1365F ). |
PLUM | Enum |
Ameixa (#705770 ). |
PURPLE | Enum |
Roxo (#7A367A ). |
RED | Enum |
Vermelho (#A32929 ). |
RED_ORANGE | Enum |
Vermelho e laranja (#B1440E ). |
SEA_BLUE | Enum |
Azul marinho (#29527A ). |
SLATE | Enum |
Barreira (#4A716C ). |
TEAL | Enum |
Azul-petróleo (#28754E ). |
TURQOISE | Enum |
Turquesa (#1B887A ). |
YELLOW | Enum |
Amarelo (#AB8B00 ). |
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-07-26 UTC.
[null,null,["Última atualização 2025-07-26 UTC."],[[["\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`). |"]]