Selecting the text on the basis of color in a paragraph

I am getting several paragraphs containing text of different colors. I want to select the text of particular color from the paragraph and delete it. And also perform different actions selecting the text on the basis of color.

I had tried Screen scrapping and also tried with the selector but getting the same selector as the test is in the same paragraph.

Anybody faced such issue please answer.