TIL: In CSS, DarkGray is lighter than Gray

mr_eis

Marius Eisenbraun

Posted on January 9, 2020

TIL: In CSS, DarkGray is lighter than Gray

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.☝️

💖 💪 🙅 🚩
mr_eis
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.

Related