So the goal is to generate all colors that are distinguishable from all other username and background colors (as generated in all skins + site chat). I also have to match found colors to their respective HTML color code. There's also a readability specification, but it's not clear how distinct that is from distinguish-ability or if that's more subjective.
Key questions I'll explore:
Spoiler: 1) What are all the other username/background colors as generated in all skins + site chat?
Spoiler: 2) What does it mean for two colors to be distinguishable from one another? Can distinguishability be (easily, uncontroversially) quantified?
So the naive approach to maximizing differentiation might be to maximize the Euclidean distance between RBG or similar values. However, RGB does not model the way in which we (humans) perceive color. Specifically, color perception is non-linear and not exactly orthogonal. So instead the International Commission on Illumination (CIE) has been refining over the years this thing called CIE XYZ colour space that's supposed to more aptly capture what color difference is REALLY like for us.
This feels like a cool splice between a psychological (psychophysics!) and a computational problem.
I'll document all my work here in this post. First update 7/3 at 1921EST. It's all turning out to be as vaguely frustrating as most coding problems. Not fun. Nope. Except...
From here it seems possible that the current configuration of colors for administrators is suboptimal as far as breathing room for future skittle colors is concerned. But I guess I can't know that until I code something that works.
First thing to do is get all the colors I have to find distinguishability from I guess.
Last edited by Psyche on Mon Jul 04, 2016 5:38 pm, edited 5 times in total.
Nothing is more or less satisfying than reading this string of text.