Giotto was an Italian Renaissance painter known for his use of bright colors.  The reference in the poem to Giotto is a part a pattern of linking or comparing the crab to elements of art and high culture.