That post seems to be missing.
aBundleOfFerrets 42 points a year ago

do people actually use color names in webdev?

path: 0 19146383, hotness: undefined, score: 42, children: 10
Korhaka 77 points a year ago

I sometimes do for testing. Is this css working? I don't know, change the background to red as that will stand out

path: 0 19146383 19146782, hotness: undefined, score: 77, children: 5
rooroo 18 points a year ago

Red? Hotpink or bust!

path: 0 19146383 19146782 19147221, hotness: undefined, score: 18, children: 0
LiveLM 15 points a year ago

You know you're desperate when you bust out that background-color: red

path: 0 19146383 19146782 19154049, hotness: undefined, score: 15, children: 2
Korhaka 4 points a year ago

When you are wishing you could do !!importanter you know things are getting real desperate

path: 0 19146383 19146782 19154049 19161752, hotness: undefined, score: 4, children: 1
dosuser123456 1 point a year ago

me literally every time

EDIT: erm ackshually it shouldve been "!!moreimportant"

path: 0 19146383 19146782 19154049 19161752 19283911, hotness: undefined, score: 1, children: 0
A_norny_mousse 1 point a year ago
path: 0 19146383 19146782 19147021, hotness: undefined, score: 1, children: 0
Dack 7 points a year ago

I think so

path: 0 19146383 19146565, hotness: undefined, score: 7, children: 0
A_norny_mousse 5 points a year ago

I don't, except the "red means testing" scenario. It's 1½ keystrokes less than #f00

path: 0 19146383 19147025, hotness: undefined, score: 5, children: 0
Ephera 3 points a year ago

Not really, but I feel like grayscale values would have been the most useful still, after black and white.

With colors like orange, blue etc., the hue and lightness play a big role. But with grayscale values, it's pretty much just the lightness you care about, so there's a much higher chance of such a named value fitting what you want...

path: 0 19146383 19153858, hotness: undefined, score: 3, children: 0
fmstrat 3 points a year ago

Red green blue when setting a BG color to remember a layer, but that's it.

path: 0 19146383 19152422, hotness: undefined, score: 3, children: 0
Valmond 27 points a year ago

Now put the dark grey on a white background and grey on a black background and, tada, dark grey is darker!

Fooled by the human mind itself.

path: 0 19146981, hotness: undefined, score: 27, children: 0
ICastFist 23 points a year ago

Gonna open an issue with the W3C to rename gray and darkgray to notwhite and notblack, respectively. I'm sure that will help

path: 0 19152917, hotness: undefined, score: 23, children: 2
RaivoKulli 7 points a year ago

Notblack is very problematic language

path: 0 19152917 19153100, hotness: undefined, score: 7, children: 1
JoeBigelow 8 points a year ago

Notblack code lines matter

path: 0 19152917 19153100 19153421, hotness: undefined, score: 8, children: 0
voracitude 19 points a year ago
path: 0 19149997, hotness: undefined, score: 19, children: 0
A_norny_mousse 19 points a year ago

I never ever use these names. My guess is they're a carryover from some Web 1.0 rule and not originally specific to CSS.

path: 0 19147052, hotness: undefined, score: 19, children: 8
NeatNit 18 points a year ago

Once at a job when I was supposed to make a website work (and I'll stress, I am not a graphic designer and wasn't hired as one!) I made the layout as nice as I could, but I insisted on only using named CSS colors because I just do. not. care. about color theory. By which I mean, I don't want to waste time and do a crappy job at it when someone else could do it much better and properly and faster. So the named colors are meant as an obvious placeholder for a more creative person to replace with something real later.

When my boss gave me feedback he just said that it's ugly. I started saying "yeah, the colors are placeholders, we can change that easily. I'll fiddle it with it I'll stick with named colors" (above explanation was to follow).

Before I even got to the named colors bit, he interrupted me and said "don't use named colors ever".

I guess maybe I was hired as a graphic designer? News to me!

(I'm making him sound awful but he was actually a really good boss. This interaction is not representative of our usual dynamics. I'm not employed by him anymore but we are on good terms.)

path: 0 19147052 19148621, hotness: undefined, score: 18, children: 1
A_norny_mousse 2 points a year ago

Before I even got to the named colors bit, he interrupted me and said “don’t use named colors ever”.

He recognized the tones. Used to be known as "web friendly" a long time ago.

path: 0 19147052 19148621 19152573, hotness: undefined, score: 2, children: 0
JohnEdwa 16 points a year ago

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".

path: 0 19147052 19150486, hotness: undefined, score: 16, children: 4
RampantParanoia2365 4 points a year ago

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

path: 0 19147052 19150486 19154298, hotness: undefined, score: 4, children: 2
JohnEdwa 4 points a year ago

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

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

path: 0 19147052 19150486 19154298 19155096, hotness: undefined, score: 4, children: 1
RampantParanoia2365 1 point a year ago

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

path: 0 19147052 19150486 19154298 19155096 19155753, hotness: undefined, score: 1, children: 0
A_norny_mousse 2 points a year 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.

path: 0 19147052 19150486 19152463, hotness: undefined, score: 2, children: 0
irelephant 6 points a year ago
path: 0 19147052 19148226, hotness: undefined, score: 6, children: 0
_cryptagion 11 points a year ago
path: 0 19149279, hotness: undefined, score: 11, children: 0
alecsargent 6 points a year ago

I'm not a programmer but using hsl() seems so much easier and intuitive but only once you remember the hue of typical colors. Setting shades from another colours is also easy peasy with variables.

Obviously still setting a background to red/green (named) to test if a selector is correct and general testing.

path: 0 19152595, hotness: undefined, score: 6, children: 0
Klear 1 point a year ago

It was implemented by the same guy who named rhinos.

path: 0 19146942, hotness: undefined, score: 1, children: 0

thanks for using Leebra!

go to feed...