Dynamic font color selection

Would also apply a divergent-grayscale cpt to the text work?

Edit: sorry, I had a dynamic visualization in mind instead of a surface

Edit2 : isn’t there a way to « clip » the letter and apply a surface color on it? The doc says that it is possible to do so with the textbox at least… but maybe « clip » can go further ?
plus this