Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1099753
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T00:46:48+00:00 2026-05-17T00:46:48+00:00

Simple curiosity here, tinged with some practical concerns because I get caught out by

  • 0

Simple curiosity here, tinged with some practical concerns because I get caught out by this occasionally.

How come Color.DarkGray is lighter than Color.Gray?

This behaviour is also shown in CSS where the property color: darkgrey renders #A9A9A9 and color: grey renders #808080.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T00:46:49+00:00Added an answer on May 17, 2026 at 12:46 am

    Wikipedia has some information on the subject. It sounds like a lot of the named color definitions come from X Windows System. On X, “Gray” is actually closer to “Silver”. However, the W3C defined Gray (more appropriately?) as RGB 50%.

    Here’s some more Wikipedia on the subject:

    Perhaps most unusual of the color clashes between X11 and W3C is the
    case of “Gray” and its variants. In HTML, “Gray” is specifically
    reserved for the 128 triplet (50% gray). However, in X11, “gray” was
    assigned to the 190 triplet (74.5%), which is close to W3C “Silver”
    at 192 (75.3%), and had “Light Gray” at 211 (83%) and “Dark Gray”
    at 169 (66%) counterparts. As a result, the combined CSS 3.0 color
    list that prevails on the web today produces “Dark Gray” as a
    significantly lighter tone than plain “Gray”, because “Dark Gray”
    was descended from X11 – for it did not exist in HTML nor CSS level
    1 – while “Gray” was descended from HTML. Even in the current draft
    for CSS 4.0, dark gray continues to be a lighter shade than gray.

    W3C color keywords:

    DimGray    '#696969'  (105,105,105)  
    Gray       '#808080'  (128,128,128)
    DarkGray   '#A9A9A9'  (169,169,169)  //equal to X11 DarkGray
    Silver     '#C0C0C0'  (192,192,192)  //close to X11 Gray (190,190,190)
    LightGray  '#D3D3D3'  (211,211,211)  //equal to X11 LightGray
    Gainsboro  '#DCDCDC'  (220,220,220)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.