checking the color variable with an if statement

checking the color variable with an if statement