frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Clashes between web and X11 colors in the CSS color scheme

https://en.wikipedia.org/wiki/X11_color_names
55•mmoogle•1d ago

Comments

fireattack•3h ago
The definition of grey is totally debatable, but in W3C spec Green = #008000 (instead of #00FF00, which is called Lime?) makes no sense.

How did it happen?

spauldo•3h ago
My guess? Most green things you see are a darker green. The extremely bright green (lime according to the W3C) is less useful, so they probably chose the color based on what they thought the user would expect.

Given that RGB is well-known, I suspect their assumption was wrong, but I have nothing to back that up.

01HNNWZ0MV43FF•3h ago
Also, green is the brightest primary after accounting for typical human vision and typical monitors. The YUV formulas put at nearly twice as bright as red.

So a normal display has more green than you'd need, and 00ff00 green has terrible contrast against ffffff white

williamdclt•26m ago
The naming is supposed to make sense for humans, not machines. Technically the "greenest green" from a technical POV is #00FF00, but the humans understanding of "green" is something more like #008000.
frankzander•3h ago
I never use color names (except if I quick want to set a color in CSS for testing purposes) so I wonder who is using color names and why? Does all this has any real world implications?
spauldo•3h ago
I used to use them in both X11 and CSS way back in the day. They were really common in X11, because a lot of users were on pseudocolor displays and it made sense to reuse colors as much as possible.

If you used uncommon colors in your program on - for example - a Sparcstation 20, the palette would shift every time you moved the mouse in or out of your window. It's difficult to describe to someone that's never seen it, but it's unpleasant. No one mourns the death of pseudocolor.

onli•3h ago
On the CSS side, I sometimes use named colors as an anchor point. Like when writing a dark mode and thinking "that text might look good in yellowish" I set "amber", and the result was good enough to keep it. Other times it makes for a good challenge, limit your design options to only named colors to not get lost in the color wheel.
hnlmorg•2h ago
As touched on in the article, the beauty of colour names would be that they’re celebrated for the machine.

#124356 might look different on one monitor or workstation compared to another.

Having colour names which are calibrated for the device makes a lot of sense. Assuming those colour names are actually calibrated, which as the article also mentions, so often wasn’t the case.

As an aside, this is a big problem in DTP where your display should match the page. However you obviously wouldn’t use colour names in that specific industry because you’re dealing with a vastly greater range of colours and shades.

robinsonb5•1h ago
Nitpick: you absolutely would use colour names in that industry - it's just that the colour names would be more along the lines of "Pantone 137C" than "Yellow".
mikestaas•1h ago
In desktop publishing or other graphic arts where you are sending your files to pre-press for physical printing you would use CMYK or Pantone (for spot colours) + paper grade.
mgkuhn•12m ago
The wonders of standards-committee bike shedding?

LLM Inevitabilism

https://tomrenner.com/posts/llm-inevitabilism/
535•SwoopsFromAbove•5h ago•505 comments

Apple's MLX adding CUDA support

https://github.com/ml-explore/mlx/pull/1983
371•nsagent•12h ago•145 comments

LIGO detects most massive black hole merger to date

https://www.caltech.edu/about/news/ligo-detects-most-massive-black-hole-merger-to-date
268•Eduard•14h ago•130 comments

Kiro: A new agentic IDE

https://kiro.dev/blog/introducing-kiro/
847•QuinnyPig•19h ago•360 comments

Dog Walk: Blender Studio's official game project

https://blenderstudio.itch.io/dogwalk
251•doener•12h ago•41 comments

VHS, VCDs, and Laserdiscs in Southeast Asia

https://rubenerd.com/vcds-and-laserdiscs-in-southeast-asia/
13•mikece•3d ago•3 comments

RFC: PHP license update

https://wiki.php.net/rfc/php_license_update
229•josephwegner•12h ago•58 comments

When Sigterm Does Nothing: A Postgres Mystery

https://clickhouse.com/blog/sigterm-postgres-mystery
26•saisrirampur•5h ago•4 comments

Clashes between web and X11 colors in the CSS color scheme

https://en.wikipedia.org/wiki/X11_color_names
55•mmoogle•1d ago•11 comments

SQLite async connection pool for high-performance

https://github.com/slaily/aiosqlitepool
122•slaily•3d ago•41 comments

Context Rot: How increasing input tokens impacts LLM performance

https://research.trychroma.com/context-rot
162•kellyhongsn•14h ago•34 comments

C++ Coroutines Advanced: Converting std:future to asio:awaitable

https://www.ddhigh.com/en/2025/07/15/cpp-coroutine-future-to-awaitable/
42•xialeistudio•8h ago•9 comments

Martin (YC S23) Is Hiring Founding Engineers to Build a Better Siri

https://www.ycombinator.com/companies/martin/jobs/
1•darweenist•5h ago

Show HN: Bedrock – An 8-bit computing system for running programs anywhere

https://benbridle.com/projects/bedrock.html
138•benbridle•4d ago•36 comments

I Solved the Century-Old Mystery of a Miraculous Shipwreck Survivor

https://thewalrus.ca/empress-of-ireland-survivor-mystery/
70•Thevet•2d ago•22 comments

VMware Workstation: Bringing Virtualization to the x86 Architecture [pdf] (2012)

https://www.cse.iitb.ac.in/~mythili/virtcc/papers/vmware.pdf
9•todsacerdoti•1d ago•1 comments

Happy 20th Birthday, Django

https://www.djangoproject.com/weblog/2025/jul/13/happy-20th-birthday-django/
423•davepeck•1d ago•130 comments

DEWLine Museum – The Distant Early Warning Radar Line

https://dewlinemuseum.com/
53•reaperducer•11h ago•15 comments

Cache Benchmarks

https://github.com/tidwall/cache-benchmarks
25•jjwiseman•3d ago•5 comments

NeuralOS: An operating system powered by neural networks

https://neural-os.com/
142•yuntian•14h ago•44 comments

Field Notes on Shipping with Claude Code

https://www.lesswrong.com/posts/dxiConBZTd33sFaRC/field-notes-from-shipping-real-code-with-claude
9•ishita159•1h ago•0 comments

Replicube: 3D shader puzzle game, online demo

https://replicube.xyz/staging/
128•inktype•3d ago•20 comments

Show HN: VS Code extension to edit the filesystem like a text buffer

https://github.com/ahrm/voil
24•hexomancer•2d ago•17 comments

Strategies for Fast Lexers

https://xnacly.me/posts/2025/fast-lexer-strategies/
155•xnacly•19h ago•59 comments

Cognition (Devin AI) to Acquire Windsurf

https://cognition.ai/blog/windsurf
416•alazsengul•16h ago•329 comments

I used Suno AI to cover my own demo album

https://app.mindthis.io/@yt/how-i-used-suno-ai-to-cover-my-own-demo-album
4•yanis_t•2d ago•8 comments

Building Modular Rails Applications: A Deep Dive into Rails Engines

https://www.panasiti.me/blog/modular-rails-applications-rails-engines-active-storage-dashboard/
156•giovapanasiti•18h ago•34 comments

Embedding user-defined indexes in Apache Parquet

https://datafusion.apache.org/blog/2025/07/14/user-defined-parquet-indexes/
123•jasim•17h ago•16 comments

The Collapse of the FDA

https://www.nytimes.com/2025/07/08/magazine/fda-collapse-rfk-kennedy.html
147•littlexsparkee•9h ago•84 comments

Japanese grandparents create life-size Totoro with bus stop for grandkids (2020)

https://mymodernmet.com/totoro-sculpture-bus-stop/
281•NaOH•18h ago•74 comments