a { background:#000; color: #fff; transition:color 4s ease-in;}a:hover{background:#f00; color: #000;}
Hover mouse over this link