Is there a way to convert rgb into rgba in CSS?
so I already setup my css variables like this
I was wondering if I could insert this variable into something but add an alpha like rgba instead for glassy effect
1 Reply
If you can't just mess with the
opacity
property, the only thing I can think of (though that's not saying too much, I'm by no means a CSS expert) is to use color-mix and a fully transparent second color https://codepen.io/jochemm/pen/mdQQRav