thank you @jsotola
throught he debugging you mentioned i was able to learn that the '\n' was added to the end of the string. Instead of using
Serial.readString() I used Serial.readStringUntil('\n');
this would check for a delimiter character '\n' then stop. Thus, my myColor variable would be red instead of red'\n'