为什么CSS深灰色比原始灰色浅

参见英文答案 >
Why is DarkGray lighter than Gray?                                    3个

JSBIN DEMO

这是某种错误还是他们错了?

深灰色不应该是DARKER然后默认灰色吗?

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}

最佳答案 根据
W3Schools,这似乎是正确的.

> darkgray是#A9A9A9
>灰色是#808080
> dimgray是#696969

点赞