Björn Ottosson not only did some mighty fine work, producing a simple equation that produces smooth colour gradients, but he "showed his work" too. Instead of just journal references, he littered this page with incredibly useful hyperlinks to difficult to find things such as the raw data for the Munsell colour chart and the Luo-Rigg data!
This should also be mandatory reading for people not so serious about computer colour, because heads up: If you do any kind of arithmetic on RGB bytes, you've screwed up much more than you think you have! It's one of the most common examples of the Dunning–Kruger effect.
Need a nice gradient of colours to represent something graphically, such as low-medium-high values? Go to this page first.
Need to blur a background picture? Go to this page first.
Resizing images? Read this first.
Making colour schemes for a web page theme? This page first.
Adding a "colour picker" control? Definitely read this first.