Less mathematics; and more a formula to express intuitive understanding. With a color wheel and a slider that goes between black & white, say, I could see good shades always being a degree counter-clockwise, twice that distance downward, and move the slider 2 millimeters. Or on a periodic table-style chart, a good shade is always two up, three right. Generally speaking.
Gracious I even spent time trying to properly catch any typos. That clinches it, I'm going to bed XDWoo!
It's inspired many moments worth drawing, but I don't have a grasp on the characters or chosen esthetic. I'll throw that to the wind though. You've drawn bycatch, I can draw this.