Hey anyone heard of this equation:
(means answer= total-input)
i call it the inverting equation...
if you've ever been in paint and seen the "invert colo(u)r [ctrl+i] you can use this simple equation. say you have an RGB value (100,32,91).
The total for any rgb number is 255, so lets replace the letters with numbers...
(r value) x=t-i
and repeat for green and blue values.
(g value) x=t-i
(b value) x=t-i
Ta-da! the inverted state of ink rgb(100,32,91) is (155,223,164)!
Try it for yourself.
ps. this also works for angles.