change the shape color attribute to use UIColor