Here's an example.
The Mtext entity all red, will get changed with the first portion of code if I add an asterisk in front of Text in the list.
The second mtext entity with green and red is an instance where I need to change the red entity back to bylayer. Or carry on if none exist.
So, these red entities get changed to color 191 and then back at construction issue.