Pressed link color on mobile sites

Hey! I’m trying to remove the blue highlighted color when you press a link on my mobile site. Which I’ve done successfully, but I’m not sure why two parts of the code are highlighted red in the embed, which normally indicates missing brackets or something. Whenever I try to change the code so the highlighted part goes away the code stops working…

<style>
*{
-webkit-tap-highlight-color: rgba(0,0,0,0);
tap-highlight-color: rgba(0,0,0,0);}
</style>

Both tap-highlight-color texts are highlighted red

Thanks in advance!