If L6 is being filled manually then you will need a macro.
If L6 is being filled by a CF formula, then you can use that formula to determine if L6 is red
What do you want to do if L6 contains the word red?
With regard to the formula you posted in your op, how do you want to change it if L6 contains the word "red"?