---
title: eventContrastColor
---

Sets the contrast color for all events on the calendar. Used to color text and other elements that need to be visible against the event's background.

<div class='spec'>

String

</div>

You can use any of the CSS color formats such `#f00`, `#ff0000`, `rgb(255,0,0)`, or `red`.

This option can be overridden on a per-source basis with the `contrastColor` [Event Source Object](event-source-object) option or on a per-event basis with the `contrastColor` [Event Object](event-object) option.
