.element{ background-color: hsl(145, 70%, 50%); transition: background-color 1s; } .element:hover{ background-color: hsl(145, 70%, 90%); }