Hacker News new | ask | show | jobs
by neatcoder 2651 days ago
I can read color hex codes just fine. In fact, while writing my CSS, I often have a shade of color in mine and I just go ahead and type out its hex code by guesswork and then fine tune it by changing the R, G, and B values. I am not colorblind. I never thought this is a special skill! It's just basic understanding of hexadecimal, the RGB color model, and additive color mixing.

The nice thing this video helps me with is to give a name to every RGB color code. This is something I had always found difficult even though I knew what each RGB color code would look like. Giving a name to every RGB code makes it easy to communicate colors to others.

3 comments

As a colorblind dev, I've been reliant upon hex codes for 20ish years to know what color I'm looking at (by balancing RGB).

However I've always had a hard time creating color palettes and shades. I recently gave HSL a shot and really enjoyed it. Memorizing the Hue values isn't hard (it's easier than deciphering a three part hex code). Saturation and Lightness are just percentages.

Same for me. I learnt to mix diverse amounts of the three light colors red, green and blue. You know you get yellow when you mix red and green, and orange if you have somewhat more red than green, and so on.
Me too. I thought all web developers did this?
No, hex color mixing theory doesn't sound like a sound UI development pattern.
What? If you're a web developer and don't know how to use them, then you're not a very good one.
That is harsh and somewhat elitist. I'm guessing people could probably say pretty much anything to sound skilled by replacing X here: "What? If you're a web developer and don't know how to use X, then you're not a very good one."

I understand RGB, base-16 and HSL yet this isn't instinctive for me. I might be a below average dev (although my clients and colleagues seem to think otherwise), but I'd prefer a color picker any day before thinking about translation of color codes.

The value that pops out of the color picker shouldn't be a mystery to you.
Ah, agreed. But your comment didn't actually say that - you took something kinda small and leveraged it too far as it would define the web dev skills.
Imagine that the string you plugged into your browser was actually the hash of the hex code for some nonsensical reason. Developers would be no less good or productive since for almost all purposes they're arbitrary constants that happen to be attached to classes like 'blue-primary'.