Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Is there a way to convert rgb into rgba in CSS? - Kevin Powell - Community
KP-C
Kevin Powell - Community
•
3y ago
•
1 reply
Khoa
Is there a way to convert rgb into rgba in CSS?
so I already setup my css variables like this
--colorBgSurface: rgb(0, 64, 55);
--colorBgSurface: rgb(0, 64, 55);
I was wondering if I could insert this variable into something but add an alpha like rgba instead for glassy effect
Kevin Powell - Community
Join
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.
36,263
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Convert css variables into sass
KP-C
Kevin Powell - Community / front-end
3y ago
is there a way to toggle multiple CSS classes in one statement?
KP-C
Kevin Powell - Community / front-end
4y ago
Is there a way to test for css nesting support?
KP-C
Kevin Powell - Community / front-end
2y ago