color_negative.py revision b97c841ca6aa0a4f8ff56e7760e85b2d57d95b15
import coloreffect
class C(coloreffect.ColorEffect):
def colmod(self,r,g,b):
return '%02x%02x%02x' % (255-r,255-g,255-b)
c = C()
c.affect()