I have colorA which is [UIColor blueColor], and colorB, which is [UIColor redColor]. Is this possible for me to render a [UIColor purple]
[UIColor blueColor]
[UIColor redColor]
[UIColor purple]
Ask each input color for its RGBA components using -[UIColor getRed:green:blue:alpha:]. Average the components from each, and create a new color using +[UIColor colorWithRed:green:blue:alpha:].
-[UIColor getRed:green:blue:alpha:]
+[UIColor colorWithRed:green:blue:alpha:]