how to change highlight color on website

CSS
/* Change Selection Text Color When Highlighting */ 

::-moz-selection { background-color: #476f30; 
color: #fff; } 
::selection { background-color: #476f30; 
color: #fff; }
Source

Also in CSS: