Apply color to specific word in a text (store in a database)


I would like to display a text store in the database. This text can change according to the user of the application.
To this text I would like to apply a specific color to several words (list of words, around 20, can be store in the database).
Do you know how I can do that ?

Many thanks

here is an example of a final result I would like to have