Enum Color
Stay organized with collections
Save and categorize content based on your preferences.
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 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 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`). |"]]