• HEX: #fbfbfb
  • RGB: rgb(251, 251, 251)
  • HEX: #55e4c5
  • RGB: rgb(85, 228, 197)
  • HEX: #b3eedb
  • RGB: rgb(179, 238, 219)
  • HEX: #d3f9f4
  • RGB: rgb(211, 249, 244)
  • HEX: #dbefce
  • RGB: rgb(219, 239, 206)

How to Change Website Highlight / Selection Color With CSS

highlight-color-css

I sometimes like to change the highlight / selection color with css. It’s a nice little touch that adds something to the feel of the site. Even thought most people will never see it, the ones that door will find it entertaining.

Changing the highlight / selection color is super easy. Simply cut, copy, and paste the below snippet into your stylesheet. Replace the background color, and color properties to your liking, and you’re highlight color will change!


Subscribe for More!


I send out a monthly newsletter on various topics.

Take a moment to enter your details, and you can select the news you would like to have delivered to your inbox!