RGB Manipulation

added a function for RGB manipulation.

TODO a dialog for RGB manipulation