Is there a way to make text appear in a color derived from its colored background?
I have considered using the following CSS code:
::selection {
backdrop-filter: brightness(.25);
}
However, this approach does not seem to work as expected. The challenge here is that the child element may not be aware of the specific background color, making it impossible to manually set the text color.