Hacker News new | ask | show | jobs
by rawling 1617 days ago
Wouldn't that shorten to #0f0? But "green" is #008000, which doesn't shorten?
3 comments

Hmm I wonder which approach is actually better overall when it comes to content-encoding like their own site uses (brotli compression) or client side parsing performance. It's all probably a bit off into the weeds over something like 0.05% performance though.
Ah thanks, I assumed ‘#0f0’ as well. I guess it is length based then.