Each project on the Calendar is automatically assigned a random color so it can be identified at a glance. Occasionally the color that gets picked makes the text hard to read.
To change it, click the colored task counter next to the project name. A color picker will open and you can choose whichever color you prefer.