create for loop for colors and rect