The invert filter invert the color and brightness.
#example {
filter: invert();
}
The original
<img src="image/friend.gif" alt="IMG" width="170" height="140">

<div style="font: bold 170% sans-serif; width: 100%;">
Example text
</div>
Reverse the color and brightness
<img src="image/friend.gif" alt="IMG" width="170" height="140" style="filter: invert();">

<div style="font: bold 170% sans-serif; width: 100%; filter: invert();"> Example text </div>