Glad of been of help laugh

That color space is called CMY (cyan, magenta, yellow) and it is the inverse of RGB when normalized.
Code
RGB = 1 - CMY;
CMY = 1 - RGB;


They are both additive/sustractive color spaces so you can operate same. The only problem is that CMY does not work as a 0<->1 brightness factor as RGB does in color multiply because the components content is inverse to its brightness.