21 Mar '06 08:32>1 edit
Hey anyone heard of this equation:
x=t-i?
(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
x=255-100
x=155
and repeat for green and blue values.
(g value) x=t-i
x=255-32
x=223
(b value) x=t-i
x=255-91
x=164
Ta-da! the inverted state of ink rgb(100,32,91) is (155,223,164)!
Try it for yourself.
ty,
JGCXELITE
ps. this also works for angles.
x=t-i?
(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
x=255-100
x=155
and repeat for green and blue values.
(g value) x=t-i
x=255-32
x=223
(b value) x=t-i
x=255-91
x=164
Ta-da! the inverted state of ink rgb(100,32,91) is (155,223,164)!
Try it for yourself.
ty,
JGCXELITE
ps. this also works for angles.