---
title: color
framework: eventkit
role: symbol
role_heading: Instance Property
path: eventkit/ekcalendar/color
---

# color

The calendar’s color.

## Declaration

```swift
@NSCopying var color: NSColor! { get set }
```

## Discussion

Discussion This property is the equivalent of the cgColor property on iOS.

## See Also

### Accessing Calendar Properties

- [EKCalendarType](eventkit/ekcalendartype.md)
- [EKCalendarEventAvailabilityMask](eventkit/ekcalendareventavailabilitymask.md)
- [allowsContentModifications](eventkit/ekcalendar/allowscontentmodifications.md)
- [cgColor](eventkit/ekcalendar/cgcolor.md)
- [isImmutable](eventkit/ekcalendar/isimmutable.md)
- [title](eventkit/ekcalendar/title.md)
- [type](eventkit/ekcalendar/type.md)
- [allowedEntityTypes](eventkit/ekcalendar/allowedentitytypes.md)
- [source](eventkit/ekcalendar/source.md)
- [isSubscribed](eventkit/ekcalendar/issubscribed.md)
- [supportedEventAvailabilities](eventkit/ekcalendar/supportedeventavailabilities.md)
- [calendarIdentifier](eventkit/ekcalendar/calendaridentifier.md)
- [DATETIME_COMPONENTS_DO_NOT_USE()](eventkit/datetime_components_do_not_use().md)
- [DATE_COMPONENTS_DO_NOT_USE()](eventkit/date_components_do_not_use().md)
