I have the following CSS selector on my website to add an icon for external links to every href that is not pointing to my own domain (https://stackoverflow.com/a/55891382/257617):
a[class=" external-link"]::after {
content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==);
position: relative;
top: -3px;
margin: 0 3px 0 5px;
}
This is a grey image but the rest of the link has #0273d4 as a color. Is it possible to color that image as well (but not the whole a href background text)?