Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why CSS dark grey is lighter then the original grey [duplicate]

Tags:

css

colors

JSBIN DEMO

enter image description here

Is this some kind of bug or they just made it wrong?

Shouldn't the dark gray be DARKER then the default grey?

HTML

<div class="lightgrey">Light Grey</div>
<div class="grey">Grey</div>
<div class="darkgrey">Dark Grey</div>

CSS

.lightgrey {background: lightgrey}
.grey {background: grey}
.darkgrey {background: darkgrey}
like image 772
rafaelcastrocouto Avatar asked Oct 20 '22 09:10

rafaelcastrocouto


1 Answers

according to W3Schools this seems to be correct.

  • darkgray is #A9A9A9
  • gray is #808080
  • dimgray is #696969
like image 60
Laszlo Korte Avatar answered Oct 23 '22 03:10

Laszlo Korte