A compact method for color interpolation

This method uses less local variables and less operators to interpolate two colors than the classic 3 separate channel method