You can’t change the color like that. The only way I know you could do something like that would be by adding something like this…
different text with different colors and change the “visibility” option to show different color tex when meeting certain criteria.