as if written:
 @keyframes test {
  0% { background-color: red;}
  45% { background-color: green; }
  55% { background-color: blue; }
  100% { background-color: red;}
}