Skip to content

Comment on Basic colour theory for programmersparent

Comments

regarding, 2 and 3. check out the HSP color model [1], it works quite well for perceptual luminance matching.

[1] http://alienryderflex.com/hsp.html

Thanks leeoniya, I had been looking for exactly this kind of treatment on the subject for years, I'll be using the info from that link in several projects immediately.

i use it myself in a couple projects. mainly my quantizer lib [1]

[1] https://github.com/leeoniya/RgbQuant.js

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.