http://www.codeproject.com/vb/net/colormatrix.asp

Is the best I can find.