Default Need Help with a String

Hey everyone i'm trying to write out a string but i'm getting the wrong value returned and I don't know why. I want to have a rectangle change colors if the first event day of month, second event day of month, and third event day of month are the same AND the first event day of month is today. Right now my string is:

[c]$#C0Sd#=#C1Sd#&&#C1Sd#=C2Sd#&&#C0Sd#=#Dd#?#4afffff f:#00ffffff$[/c]

and i'm getting [c]#00ffffff[/c] even though all of the event days are the same and the first event day of the month is today. Any help would be appreciated!