Dynamic calendar event color

Hello,

I am trying to set my calendar event text color to be dynamic based on dynamic values.

Here is my logic:
encounter_status == ‘rescheduled’ ? ‘#ff9b37’: encounter_status == ‘no show’ ? ‘#e8286b’: ‘’

This same logic works perfectly for setting a dynamic Back Color:
image

So I’m not sure why it’s not working for text color.

One potential answer is I am setting the Text Color on Calendar Source Properties. However, when I remove this, the dynamic Text Color logic still does not work.

Does anyone have any ideas why this is happening?