A tutorial by jim bumgardner (@jbum on twitter) 6/2012: You'll find a great, mind-blowing overview of how color perception works on Jason Cohen's blog. He points to a far more in-depth source which will also reward your time. 12/2011: Charlie Loyd has written a nice analysis of the techniques presented in this article, and makes a good case for sine-generated rainbows (which he has nicely dubbed t