inverts the RGB channel. keeps the alpha channel unchanged
Examples:
:white.uicolor.invert==:black.uicolor
77
78
79
80
81
82
83
# File 'lib/sugarcube-color/uicolor.rb', line 77definvertr=1.0-self.redg=1.0-self.greenb=1.0-self.bluea=self.alphaUIColor.colorWithRed(r,green:g,blue:b,alpha:a)end