Check out example codes for "css mark color". It will help you in understanding the concepts better.

Code Example 1

<style>
mark { 
  background-color: yellow;
  color: black;
}
</style>

<mark>Highlighted text!!</mark>

Learn ReactJs, React Native from akashmittal.com