This project demonstrates 4 different techniques to "blend" two colors in RGB form. Slide the int variable to see different blendings of the two color. 1) simply interpolating the values. 2) interpolating toward a new color with the maximum R, G, and B value out of the two. 3) converting each RGB to HSL, then interpolating the H, S, and L values to convert back to RGB. (4/9/17) 4) using a special interpolator function, adding all the corresponding R, G, and B values together, and scaling down if needed
All credit to _paperN1 , I just fixed type 3 to be the most realistic one