Lemmingers?
The only way to do this is by dividing this into R, G, B and then do the math on these. See Here
Lemmingers?