how to chane text color when hover in css

CSS
CSS
.link { color: #FF0000; } /* CSS link color (red) */
.link:hover { color: #00FF00; } /* CSS link hover (green) */
Source

Also in CSS: