TIL: In CSS, DarkGray is lighter than Gray
Marius Eisenbraun
Posted on January 9, 2020
When building prototypes or examples, I often use named CSS colors.
After playing around and working with CSS for some years, today I learnt:
DarkGray is lighter than Gray 🤔
It got me so confused, I had to check it three times.
The easy solution:
If you want a "dark gray", choose DimGray
.☝️
💖 💪 🙅 🚩
Marius Eisenbraun
Posted on January 9, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.