CGFloat R=0.0,G=0.0,B=0.0,A= 0.0;
CGColorRef color = _innerColor.CGColor;
int numComponents = CGColorGetNumberOfComponents(color);
if (numComponents==4) www.2cto.com
{
const CGFloat *components = CGColorGetComponents(color);
R = components[0];
G = components[1];
B = components[2];
A = components[3];
}