hr.rainbow { height: 200px; background: linear-gradient(45deg, red, orange, yellow, green, blue, indigo, violet, red); }