I found this color-based shopping aide today; I guess I kind of know in theory how it works, but I have no idea where I'd start if I had to reproduce it...