Use UIColor, with a setter like setBackgroundColorTop:(UIColor *)topColor colorBottom:(UIColor *)bottomColor;