Generating shades of color using CSS variables
A really handy trick by @jimniels that uses comma separated RGB values to give you the capability of creating color shades, using CSS Custom Properties.
I love a simple, smart solution like this.
https://blog.jim-nielsen.com/2019/generating-shades-of-color-using-css-variables/
Hi 👋
I’m Andy, a freelance web designer
I’m not currently booking new projects, but you can support my work by buying “Every Layout”.