Hacker News new | past | comments | ask | show | jobs | submit login

"Already, sRGB’s FF0000 is quite definitely on the orange side of neutral (I tend to call the sRGB primaries “orangish red”, “yellowish green”, and “purplish blue” for clarity when trying to explain technical aspects of color to non-experts)."

I did wonder about that, especially when desaturating "pure" blue produced a kind of lilac, and when I got a cyan (rather than green) after-image from "pure" red.

Thanks for confirming.

Out of interest, where would you say neutral red, green and blue fall in the sRGB space (or are they out of gamut)?




For any given hue, you can pick a range of colors. There are an infinite number of neutral red/green/blue/yellow colors within sRGB. However, for blue and green especially, these unfortunately happen to be less colorful than you might achieve with paint or see in nature.

(Note, the “hue” measure used in spaces like HSL/HSV is non-uniform, especially in the blue–purple range. So that explains part of the effect you see when you “desaturate” sRGB #0000FF. Your “desaturate” operation is also shifting the hue, if you define hue based on human perception.)


Jacobulous: Your comments are very interesting, can you point to some good resource (book/site/etc) to learn about such things?


The lessons from scratchapixel.com were for me the most helpful, they really made all the stuff about colour-spaces "click" for the first time. Mainly this chapter, explaining about the tristimulus, CIExyz and how they transform into sRGB and what is up with that horseshoe shape:

http://www.scratchapixel.com/lessons/3d-basic-lessons/lesson...

Further, if you click around there's a few more chapters relevant to colours that put this theory into practice (in the context of raytracing and rendering):

http://www.scratchapixel.com/lessons/3d-advanced-lessons/bla...

http://www.scratchapixel.com/lessons/3d-advanced-lessons/sim...


This is one of the better ones on the internet: http://www.handprint.com/LS/CVS/color.html




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: