Change color of slected text only

dynamic text box (myText_txt)
I want to change the color of selected text only

or, if you can figure out some creative way of changing the background color of the selected text only.

Any ideas or creative solutions welcome.

Thanks