add a UIColor extend method to solve the CALayer's coordinate issue.