5 ms·
This is a fun topic. Here's a Lab and Lch colour picker I once made: http://davidjohnstone.net/pages/lch-lab-colour-gradient-picker http://davidjohnstone.net/pa
by davidjohnstone 11y ago
This is a fun topic. Here's a Lab and Lch colour picker I once made: http://davidjohnstone.net/pages/lch-lab-colour-gradient-picker http://davidjohnstone.net/pages/lch-lab-colour-gradient-pick...
A keyword not mentioned in this article is "perceptual uniformity". It's the idea that the difference between two colours as measured by the Euclidean difference (of the L, a and b components) will be equal to the perceived difference between colours. That said, it turns out that this isn't quite as true as it was hoped for this colour space, and now there are much more complicated formula for this: https://en.wikipedia.org/wiki/Color_difference https://en.wikipedia.org/wiki/Color_difference
- melloclello 11y agoMan I have used this thing so many times, thank you
- yoodenvranx 11y agoIn the first article you posted there is a section called > HSV and HCL Should't it be "HSL" instead of "HCL"?
- jacobolus 11y agoYes, he means HSL (or sometimes HLS), though the abbreviations used in the wild for these models are wildly inconsistent. Here’s the first footnote in the Wikipedia article I wrote about HSL/HSV: In Joblove and Greenberg’s (1978) paper first introducing HSL, they called HSL lightness "intensity", called HSL saturation "relative chroma", called HSV saturation "saturation" and called HSV value "value". They carefully and unambiguously described and compared three models: hue/chroma/intensity, hue/relative chroma/intensity, and hue/value/saturation. Unfortunately, later authors were less fastidious, and current usage of these terms is inconsistent and often misleading. http://dl.acm.org/citation.cfm?id=807362 http://dl.acm.org/citation.cfm?id=807362 [Worth noting: Joblove and Greenberg’s terms weren’t really consistent with standard color science definitions, but they were at least well defined at the top of their paper.]
- deleted 11y ago[deleted]
- laughinghan 11y agoEDIT: misunderstood, thought it was referring to original article not grandparent. <strike> No. HSV and HSL are two very similar physically-based color models that only loosely map to perceived brightness and perceived grayness: https://en.wikipedia.org/wiki/HSL_and_HSV https://en.wikipedia.org/wiki/HSL_and_HSV They are nice cylindrical shapes because they are straightforward transformations of the RGB cube-shaped color space. By contrast, HCL is a biologically-based close approximation of actual perceived brightness and perceived grayness: https://en.wikipedia.org/wiki/Lab_color_space https://en.wikipedia.org/wiki/Lab_color_space It has a funky shape because the frequency responses of the color-sensitive pigments in the cones of our eyes are complicated: https://en.wikipedia.org/wiki/CIE_1931_color_space#Color_matching_functions https://en.wikipedia.org/wiki/CIE_1931_color_space#Color_mat... </strike>
- jacobolus 11y agoYes, but in davidjohnstone’s link which yoodenvranx is talking about, what that Wikipedia page calls HSL is being called HCL, whereas what you are calling HCL is being called Lch. (CIE LCh or CIELCH, optionally with a subscript 'ab' to distinguish it from the cylindrical version of CIELUV, would be a better, relatively unambiguous name. By convention, the C should be capitalized.)
- laughinghan 11y agoOh my god you're so right
- niccaluim 11y agoWow, the color difference stuff is fascinating. How on earth do they measure the space of perceptual difference?
- Terr_ 11y agoNot sure, but maybe you could test by showing people two similar colors and asking them to decide if the are identical. With enough samples (and enough individual participants) you establish how many "statistically-significant distinguishable differences" exist along a given path through the color-space. Then combine those and get a sort of topographic grid...
- yoodenvranx 11y agoThat would actually be an interesting research topic because the results might be influenced by culture/language: https://en.wikipedia.org/wiki/Blue%E2%80%93green_distinction_in_language https://en.wikipedia.org/wiki/Blue%E2%80%93green_distinction...
- niccaluim 11y agoYeah, something like that was my best guess—either that or letting subjects adjust a second color until it matched the first. Turns out that's exactly what they did: "MacAdam set up an experiment in which a trained observer viewed two different colors, at a fixed luminance of about 48 cd/m2. One of the colors (the "test" color) was fixed, but the other was adjustable by the observer, and the observer was asked to adjust that color until it matched the test color." - from https://en.wikipedia.org/wiki/MacAdam_ellipse https://en.wikipedia.org/wiki/MacAdam_ellipse
- Retra 11y agoIt would be easier to measure the photoreceptor response of the eye and mathematically extrapolate.
- yoodenvranx 11y agoThis might be a good start: https://en.wikipedia.org/wiki/MacAdam_ellipse https://en.wikipedia.org/wiki/MacAdam_ellipse