Enum Color
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Kolor
Wyliczenie reprezentujące nazwane kolory dostępne w usłudze Kalendarz.
Aby wywołać wyliczenie, wywołaj jej klasę nadrzędną, nazwę i właściwość. Na przykład:
CalendarApp.Color.BLUE
.
Właściwości
Właściwość | Typ | Opis |
BLUE | Enum |
Niebieski (#2952A3 ). |
BROWN | Enum |
Brązowy (#8D6F47 ). |
CHARCOAL | Enum |
Węgiel drzewny (#4E5D6C ). |
CHESTNUT | Enum |
Kasztan (#865A5A ). |
GRAY | Enum |
Szary (#5A6986 ). |
GREEN | Enum |
Zielony (#0D7813 ). |
INDIGO | Enum |
Indygo (#5229A3 ). |
LIME | Enum |
Limonkowy (#528800 ). |
MUSTARD | Enum |
Musztarda (#88880E ). |
OLIVE | Enum |
Oliwkowy (#6E6E41 ). |
ORANGE | Enum |
Pomarańczowy (#BE6D00 ). |
PINK | Enum |
Różowy (#B1365F ). |
PLUM | Enum |
Śliwkowy (#705770 ). |
PURPLE | Enum |
Fioletowy (#7A367A ). |
RED | Enum |
Czerwony (#A32929 ). |
RED_ORANGE | Enum |
Czerwono-pomarańczowy (#B1440E ). |
SEA_BLUE | Enum |
Błękit morza (#29527A ). |
SLATE | Enum |
Plansza (#4A716C ). |
TEAL | Enum |
Morski (#28754E ). |
TURQOISE | Enum |
Turkusowy (#1B887A ). |
YELLOW | Enum |
Żółty (#AB8B00 ). |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 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`). |"]]