# Why 16 Million Hex Codes Aren't Enough: The Physics of Color

Original title: Quantifying Colour

> Hacker News story 49490832 · language: en · submitted 2026-08-29
> Web version: https://zeli.app/story/49490832
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 107 · by [vismit2000](<https://news.ycombinator.com/user?id=vismit2000>) · 💬 8
[original](<https://ekunazanu.foo/lab/quantifying-colour/>) · [HN discussion](<https://news.ycombinator.com/item?id=49490832>)

## Summary

This article explores how colors can be quantified physically, moving beyond imprecise word labels. It explains spectral power distributions, photoreceptor cells, and the science behind color perception, including why hex codes are limited and why color blindness occurs.

## Key quote

> The idea of mapping colours to numbers might look odd, but it is not too far fetched.

## HN discussion (8 comments)

### [herf](<https://news.ycombinator.com/item?id=49491793>)

> This is both interesting and weird!
>
> We know the typical LMS responses for human cones (e.g., Stockman-Sharpe) that could easily be plotted instead of the bell-curve-like things they use here - why? Is it good enough for illustration? You could say, kind of but then all the colors are kind of wrong too. For example, D65 is very blue here.
>
> The article takes a really long time to get to the thing everyone should  know: which is that our cones responses overlap a lot, and we get color sensations by (kind of) differencing them. Doing a matrix transform after ten pages to get to chromaticity is technically correct, but it's not the most accessible/intuitive way to teach this.
>
> Nice effort but it would be better if it were closer to "real" color math.

### [pmkary](<https://news.ycombinator.com/item?id=49492479>)

> There is a Knuth/TeX like elegance in the diagrams that you don't see on the web. More than the content that is amazing; and the visualizations that clearly took a very long time to make; it is a fabulous piece of art. Really really nice.

---

## Cite

- Page: https://zeli.app/story/49490832
- Date: 2026-08-29
- Source: ekunazanu.foo (https://ekunazanu.foo/lab/quantifying-colour/)
- Hacker News: https://news.ycombinator.com/item?id=49490832

## Other languages

- zh: https://zeli.app/zh/story/49490832 · markdown: https://zeli.app/zh/story/49490832.md
- ja: https://zeli.app/ja/story/49490832 · markdown: https://zeli.app/ja/story/49490832.md
- ko: https://zeli.app/ko/story/49490832 · markdown: https://zeli.app/ko/story/49490832.md
- de: https://zeli.app/de/story/49490832 · markdown: https://zeli.app/de/story/49490832.md
- es: https://zeli.app/es/story/49490832 · markdown: https://zeli.app/es/story/49490832.md
- ru: https://zeli.app/ru/story/49490832 · markdown: https://zeli.app/ru/story/49490832.md
