ColorMe / CSS Color Level 4

Does this look weird? .element { background: color(#eb8fa9 alpha(75%) blackness(20%)); } That's the "color function" from a draft spec from the CSS working group. I think it's all about making colors a little easier and more intuitive to work with....

We do not write or claim ownership of any of the articles featured on this website. Instead we aim to highlight them so you can read the full article at the original source. To finish reading this article, follow the continue reading link below. CONTINUE READING
Author: CSS-Tricks

CSS-Tricks, a web design community curated by Chris Coyier.

Sign up to our newsletter

Don't worry, we won't give your email to any third parties
and you can unsubscribe at any time.