Re:Colornames.org – A collaborative effort to name all 16.7M...
by msclrhd on Monday April 13, 2020 @03:02AM
(#22853752)
That's interesting. So what you have is some sort of similarity metric that is colour based. You could define it as being 1 for an exact match, and 0 for not matching, so cyan, etc. would be 0 red, while orange may be slightly red (e.g. 0.1), and pink may be slightly more red (e.g. 0.25). This would be a 3D function/surface.
This would allow you to model classes of colours, like purples. Shades of a colour could then be any similar colour in the range 0 to 0.5 (or 0.25).
Re:Colornames.org – A collaborative effort to name all 16.7M...
by roel_v on Monday April 13, 2020 @11:10PM
(#22862431)
Yes, this is what Delta E in the CIELAB color space is meant for. But in RGB color space this concept doesn't make sense; well, only if you would accept a non linear similarity metric - but then what is the metric for, if you need to apply a curve to it to normalize it? But still, this is different from modeling 'shades' of a color (if we say 'shades' are varying brightness in RGB space using the 0.21/0.72/0.7 brightness conversion - but again, I argue that 'shades' is an ambiguous concept).
My point is, again, that colors are a much more difficult concept than some in this discussion are making it out to be, and 'distance between colors' is more complex still.
Re:Colornames.org – A collaborative effort to name all 16.7M...
by eru on Tuesday April 14, 2020 @04:59AM
(#22863931)
Yes, agreed.
Re:Colornames.org – A collaborative effort to name all 16.7M...
by baddox on Monday April 13, 2020 @03:06AM
(#22853759)
Yep, in fact, that’s exactly what those hex codes are: a specification for how much red, how much green, and how much blue is in the color (though our vision and color perception may not map linearly to that specification).
Re:Colornames.org – A collaborative effort to name all 16.7M...
by eru on Tuesday April 14, 2020 @04:58AM
(#22863929)
Sort-of. My aim was to suggest looking at natural clusters of similar shades.
You can map those clusters into RGB space. Or other colour spaces.
Technically you are correct, but I don't think that's what the colour-namers are going for.
Re:Colornames.org – A collaborative effort to name all 16.7M...
by roel_v on Monday April 13, 2020 @11:05PM
(#22862391)
That restricts you to 8 bits per color channel, and more importantly, to the RGB color space which is non linear. Comparing colors in RGB color space is nonsense in the first place ('comparing' here is 'judge by human perception'). 'Comparing' colors is just not that easy; in fact, I'd argue that without (much) more definition and clarification, it's impossible to do, because it can mean different things depending on the purpose.
So #FF0000 is red. But is #FA0101 is also red, just slightly less so.