Question: How can I change the background color from selected text? Like selecting this question but instead of a blue background and white text, a white background and red, blue, white etc. text.  

Thanks, VVW

Answer: 
You can use `::selection` CSS to achieve this.
Eg:

```css
::selection {
  background:#fff;
  color:red;
}

```
```css
html,body{
  background-color: #fff;
}
h1,p{
  color: #000;
}
::selection{
  background-color: #000;
  color: #fff;
}
```

```html
<html>
<head>
<title> Trial </title>
</head>
<body>
  <h1> This is the trial header</h1>
  <p> This is the trial paragraph </p>

</body>
</html>
```