For a plot I want to represent two periodic angles with a single color. Theoretically this is possible, since a torus (think Doughnut, any surface point of which can be described via two angles) can be embedded into the RGB cube. My question is though, has someone already come up with a colorspace such that for a fixed third coordinate it is highly unlikely to mistake one combination of two angles for another one?
For visualization, here's the Wikipedia image from Toroidal coordinates
One angle φ describes the yellow plane's orientation, the other angle would be the polar angle on the circle from the intersection of that yellow plane with the blue torus. (Please ignore the red sphere which is for another coordinate (σ) that is not periodic.)