this post was submitted on 01 Sep 2025
458 points (99.6% liked)

Programmer Humor

26097 readers
1076 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] JohnEdwa@sopuli.xyz 15 points 21 hours ago* (last edited 21 hours ago) (2 children)

X11.

One notable difference 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. Some browsers such as Netscape Navigator insisted on an "a" in any "Gray" except for "Light Grey".

[–] RampantParanoia2365@lemmy.world 3 points 16 hours ago (1 children)

"Gray" with an A looks so wrong to my eyes. I don't think I ever see it used normally.

[–] JohnEdwa@sopuli.xyz 3 points 15 hours ago* (last edited 15 hours ago) (1 children)

"Grey if it's in England, gray if it's in America."

Same as tire vs tyre, center vs centre and so on.

[–] RampantParanoia2365@lemmy.world 1 points 15 hours ago

I am an American living in America, still looks weird.

[–] A_norny_mousse@feddit.org 2 points 19 hours ago

I knew it'd be something like that. Don't try to fix it, would be my advice. BTW my rgb.txt seems to have 2 entries for every tone of grey resp. gray.