add undefined string case for color