Photoshop (with some work).
Yes, I am somewhat familiar with how Photoshop does things like that. It was one heck of a hassle. Surely there must be something else to do RGB combinations, which does not demand that you split monochrome images into R, G, and B channels unnecessarily before you can get anywhere?