I'm using CSS variables for my colors, but my designers just love hitting me with a 'its that same color, but with an opacity'.
I know its possible to do a #ff000099 (the 2 last digits being the opacity) but now I'm looking to be able to cocatenate the color (#ff0000) and then add that opacity at the end.
What I tried was something like background:var(--color)99 but that doesnt seem to work.
So is there a way to add an opacity to a hexadecimal color that is set with a variable?