how customize your website highlight color code example
Example 1: customize highlight color website
::-moz-selection {
background-color: #BA9EB0;
color: #ffffff;
}
::selection {
background-color: #BA9EB0;
color: #ffffff;
}
Example 2: how to change highlight color on website
/* Change Selection Text Color When Highlighting */
::-moz-selection { background-color: #476f30;
color: #fff; }
::selection { background-color: #476f30;
color: #fff; }