I'm trying to change the selection color of my website using the CSS ::selection
pseudoelement.
As seen in this jsFiddle, the text is supposed to have a totally black background color when being selected. On Firefox, this is the case.
However, on Chrome, the color is not absolutely black. Chrome seems to be fiddling with my colors.
You can see this if you leave the text black while selecting: on Firefox, it becomes invisible, while on Chrome you can still see it.
I've noticed this effect on other background colors that I was using: They were always a bit off on Chrome. It seems to me like a bit of red was added.
How can I get the true colors that I want on Chrome?