creating triangles with the color of the image