یک پالت جهانی از رنگ های تقویم، نقشه برداری از شناسه رنگ تا تعریف آن. منبع calendarListEntry به یکی از این شناسههای رنگ در قسمت colorId خود اشاره دارد. فقط خواندنی
calendar. (key)
nested object
تعریف رنگ تقویم
calendar.(key). background
string
رنگ پس زمینه مرتبط با این تعریف رنگ.
calendar.(key). foreground
string
رنگ پیش زمینه ای که می توان از آن برای نوشتن روی پس زمینه با رنگ "پس زمینه" استفاده کرد.
event
object
یک پالت جهانی از رنگ های رویداد که از شناسه رنگ تا تعریف آن نگاشت می شود. یک منبع event ممکن است به یکی از این شناسههای رنگ در قسمت colorId خود اشاره کند. فقط خواندنی
event. (key)
nested object
تعریف رنگ رویداد
event.(key). background
string
رنگ پس زمینه مرتبط با این تعریف رنگ.
event.(key). foreground
string
رنگ پیش زمینه ای که می توان از آن برای نوشتن روی پس زمینه با رنگ "پس زمینه" استفاده کرد.
kind
string
نوع منبع (" calendar#colors ").
updated
datetime
آخرین زمان اصلاح پالت رنگ (به عنوان مهر زمانی RFC3339 ). فقط خواندنی
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[],[],null,["# Colors\n\n\u003cbr /\u003e\n\nFor a list of [methods](#methods) for this resource, see the end of this page.\n\nResource representations\n------------------------\n\n\u003cbr /\u003e\n\n```verilog\n{\n \"kind\": \"calendar#colors\",\n \"updated\": datetime,\n \"calendar\": {\n (key): {\n \"background\": string,\n \"foreground\": string\n }\n },\n \"event\": {\n (key): {\n \"background\": string,\n \"foreground\": string\n }\n }\n}\n```\n\n| Property name | Value | Description | Notes |\n|-----------------------------|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|\n| `calendar` | `object` | A global palette of calendar colors, mapping from the color ID to its definition. A `calendarListEntry` resource refers to one of these color IDs in its `colorId` field. Read-only. | |\n| calendar.`(key)` | `nested object` | A calendar color definition. | |\n| calendar.(key).`background` | `string` | The background color associated with this color definition. | |\n| calendar.(key).`foreground` | `string` | The foreground color that can be used to write on top of a background with 'background' color. | |\n| `event` | `object` | A global palette of event colors, mapping from the color ID to its definition. An `event` resource may refer to one of these color IDs in its `colorId` field. Read-only. | |\n| event.`(key)` | `nested object` | An event color definition. | |\n| event.(key).`background` | `string` | The background color associated with this color definition. | |\n| event.(key).`foreground` | `string` | The foreground color that can be used to write on top of a background with 'background' color. | |\n| `kind` | `string` | Type of the resource (\"`calendar#colors`\"). | |\n| `updated` | `datetime` | Last modification time of the color palette (as a [RFC3339](https://tools.ietf.org/html/rfc3339) timestamp). Read-only. | |\n\nMethods\n-------\n\n[get](/workspace/calendar/api/v3/reference/colors/get)\n: Returns the color definitions for calendars and events."]]