Cool thank you Jeremy but, I am not trying to alter the stuff to correct for colorblindness.
I am just trying to make a program that generates harmonically sound color selection just by numbers. It’s just meant to be a confident “starting place”. Which can be tweaked to perceptual taste beyond that.
As my image previously tries to show. It would be trivial to code this with a subtractive wheel as the numerical offsets would be consistent from any “seed hue” on the wheel. Not the same situation with the additve wheel.
I don’t believe you can “correct” for color blindness, that would be like boosting the high frequencies in audio for some one who has less hearing in upper registers. They might hear a bit of a change, but they can’t really hear those frequencies so no amount of boost will do any good.
And it won’t make for nice sounding music.
It’s a complex issue especially to those trying to “see” what we “see”. Your still “seeing” it through normal color range vision.