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.
I’m Andy, a freelance web designer
I’m currently looking to book web design, training and consultancy projects from November 2019, onwards.