5

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}
rafaelcastrocouto
  • 11,781
  • 3
  • 38
  • 63

1 Answers1

3

according to W3Schools this seems to be correct.

  • darkgray is #A9A9A9
  • gray is #808080
  • dimgray is #696969
Laszlo Korte
  • 1,179
  • 8
  • 17
  • The color "gray" is usually written with an 'a', not with an 'e', except for a string british accent :-) Though often both versions are handled alike. – arkascha Apr 30 '14 at 14:33
  • 1
    It appears that '*grey' and '*gray' are handled the same, regardless of spelling – Mike Koch Apr 30 '14 at 14:35