After discovering the hex values of default selection colors on various systems and learning about setting text or item colors with CSS3 from this insightful answer, I find myself wondering if it is possible to highlight selections in SVG elements using the same system default color. Is there a specific name for this color in CSS?
In simpler terms, I am looking to match the color of a specific element with the text selection color on that particular system. Is this achievable?
One potential solution might involve setting the selection color in CSS across the entire website to a predefined value like #3399FF
, but unfortunately, this approach does not work for my situation. Maybe I'll resort to using a hexadecimal constant, but I'm curious if there exists a designated name for such a color.