Edit in JSFiddle

<h1>StudioDansyaku ベンダープレフィックス付き</h1>
h1 {
   	font-size: 20px;
	padding: 10px;
	background: red;
	animation: colorchange 5 ease 0s infinite normal;
	-webkit-animation: colorchange 5s ease 0 infinite normal;
	-moz-animation: colorchange 5s ease 0 infinite normal;
}

@keyframes colorchange {
	0% { background-color: red; color: black; }
	50% { background-color: blue; color: white; }
}

@-webkit-keyframes colorchange {
	0% { background-color: red; color: black;  }
	50% { background-color: blue; color: white; }

}

@-moz-keyframes colorchange {
	0% { background-color: red; color: black;  }
	50% { background-color: blue; color: white; }

}