That looks far from the ideal solution...
I can't understand your directions, and the image provided has no gradient between colors
This is a great solution here!
It took a while to figure out the plugin (7 minutes) but after that it made perfect sense!
I'm essentially trying to get something like that but instead of having two colors (white at let's say 0 degrees and black at 180 degrees), I want three colors, Red at 0 degrees, Green at 120 degrees, and Blue at 240 Degrees.
About the first issue, I can't post 7 screenshots with a 256 kb overall limit. I will try to make imgur work though.
About the second issue, I could not find a tutorial on separating RGB channels without plugins.
This tutorial is available as a PDF. Click here to view or download it
The first thing you need to know is that this only works for opaque images.
Step one: Open the image. (In this example I will use my avatar (yes I know I need to redo the avatar it's not shaded properly))
Step two: create two more layers of the same image.
Step three: create a layer above each existing layer and color them Red, Green, and Blue.
Step four: set each solid color image's blending mode to multiply in layer settings.
Step five: merge each layer down once.
To recombine the layers into one image.
Step one: set all layers to a blend mod of additive.
Step two: merge all layers down.
That's it.