title: Incompatible pointer types assigning to 'UIColor' from NSString
body: <p>Please check the below code portion and help me to solve the warning..</p>
  
  <pre><code>theGraphSubDataObj2.subDataColor = [self hexStringFromColor:[clrDic valueForKey:key]] ;
  
      - (NSString *)hexStringFromColor:(UIColor *)color {
      const CGFloat *components = CGColorGetComponents(color.CGColor);
  
      CGFloat r = components[0];
      CGFloat g = components[1];
      CGFloat b = components[2];
  
      return [NSString stringWithFormat:@"#%02lX%02lX%02lX",
              lroundf(r * 255),
              lroundf(g * 255),
              lroundf(b * 255)];
  }
  </code></pre>