Read the statement by Michael Teeuw here.
Word dependant text color change.
Calendar titleReplace shows:
red car due service
blue car due service
How could they be colored according to their text, I guess through custom.css?
@Richard238 from my knowledge there is no possibility to set a css rule based on an element content